diff options
Diffstat (limited to 'tools/idevicesyslog.c')
| -rw-r--r-- | tools/idevicesyslog.c | 4 |
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) | |||
| 48 | putchar(c); | 48 | putchar(c); |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | static int start_logging() | 51 | static int start_logging(void) |
| 52 | { | 52 | { |
| 53 | idevice_error_t ret = idevice_new(&device, udid); | 53 | idevice_error_t ret = idevice_new(&device, udid); |
| 54 | if (ret != IDEVICE_E_SUCCESS) { | 54 | if (ret != IDEVICE_E_SUCCESS) { |
| @@ -83,7 +83,7 @@ static int start_logging() | |||
| 83 | return 0; | 83 | return 0; |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | static void stop_logging() | 86 | static void stop_logging(void) |
| 87 | { | 87 | { |
| 88 | fflush(stdout); | 88 | fflush(stdout); |
| 89 | 89 | ||
