From 235e1b9bc4a3fc848b688daa857d49e953f7c135 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 24 Sep 2015 19:21:53 +0200 Subject: Replace () with (void) for proper function prototypes --- src/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common.c') diff --git a/src/common.c b/src/common.c index b5af690..efc8431 100644 --- a/src/common.c +++ b/src/common.c @@ -118,7 +118,7 @@ void idevicerestore_set_debug_stream(FILE* strm) } } -const char* idevicerestore_get_error() +const char* idevicerestore_get_error(void) { if (idevicerestore_err_buff[0] == 0) { return NULL; @@ -223,7 +223,7 @@ void print_progress_bar(double progress) { #define GET_RAND(min, max) ((rand() % (max - min)) + min) -char *generate_guid() +char *generate_guid(void) { char *guid = (char *) malloc(sizeof(char) * 37); const char *chars = "ABCDEF0123456789"; -- cgit v1.1-32-gdbae