summaryrefslogtreecommitdiffstats
path: root/tools/idevicesyslog.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-12-08 00:28:33 +0100
committerGravatar Martin Szulecki2014-12-08 00:28:33 +0100
commit83c45ae97ffb8db73b92ccbf1e89443fefbcb937 (patch)
tree141989343c9da3e278c27902defe93361c96b4a0 /tools/idevicesyslog.c
parent03c8f4fa8a41c11702ce10ce79c2a591f297c63e (diff)
downloadlibimobiledevice-83c45ae97ffb8db73b92ccbf1e89443fefbcb937.tar.gz
libimobiledevice-83c45ae97ffb8db73b92ccbf1e89443fefbcb937.tar.bz2
Replace () with (void) in libinternalcommon and tools for consistency
Diffstat (limited to 'tools/idevicesyslog.c')
-rw-r--r--tools/idevicesyslog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c
index 52a4174..7aa6126 100644
--- a/tools/idevicesyslog.c
+++ b/tools/idevicesyslog.c
@@ -48,7 +48,7 @@ static void syslog_callback(char c, void *user_data)
putchar(c);
}
-static int start_logging()
+static int start_logging(void)
{
idevice_error_t ret = idevice_new(&device, udid);
if (ret != IDEVICE_E_SUCCESS) {
@@ -83,7 +83,7 @@ static int start_logging()
return 0;
}
-static void stop_logging()
+static void stop_logging(void)
{
fflush(stdout);