summaryrefslogtreecommitdiffstats
path: root/tools/idevicesyslog.c
diff options
context:
space:
mode:
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);