diff options
author | Martin Szulecki | 2014-12-08 00:28:33 +0100 |
---|---|---|
committer | Martin Szulecki | 2014-12-08 00:28:33 +0100 |
commit | 83c45ae97ffb8db73b92ccbf1e89443fefbcb937 (patch) | |
tree | 141989343c9da3e278c27902defe93361c96b4a0 /tools | |
parent | 03c8f4fa8a41c11702ce10ce79c2a591f297c63e (diff) | |
download | libimobiledevice-83c45ae97ffb8db73b92ccbf1e89443fefbcb937.tar.gz libimobiledevice-83c45ae97ffb8db73b92ccbf1e89443fefbcb937.tar.bz2 |
Replace () with (void) in libinternalcommon and tools for consistency
Diffstat (limited to 'tools')
-rw-r--r-- | tools/idevicebackup2.c | 2 | ||||
-rw-r--r-- | tools/idevicename.c | 2 | ||||
-rw-r--r-- | tools/idevicesyslog.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c index a43cbda..d223015 100644 --- a/tools/idevicebackup2.c +++ b/tools/idevicebackup2.c @@ -1038,7 +1038,7 @@ static void mb2_copy_directory_by_path(const char *src, const char *dst) #define my_getch getch #else #define BS_CC 0x7f -static int my_getch() +static int my_getch(void) { struct termios oldt, newt; int ch; diff --git a/tools/idevicename.c b/tools/idevicename.c index c013edc..d94657b 100644 --- a/tools/idevicename.c +++ b/tools/idevicename.c @@ -28,7 +28,7 @@ #include <libimobiledevice/libimobiledevice.h> #include <libimobiledevice/lockdown.h> -static void print_usage() +static void print_usage(void) { printf("Usage: idevicename [OPTIONS] [NAME]\n"); printf("Display the device name or set it to NAME if specified.\n"); 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); |