diff options
author | Martin Szulecki | 2015-09-24 19:21:53 +0200 |
---|---|---|
committer | Martin Szulecki | 2015-09-24 19:21:53 +0200 |
commit | 235e1b9bc4a3fc848b688daa857d49e953f7c135 (patch) | |
tree | 37a110840858e4d20eff9217f61beb4d729104ec /src/common.c | |
parent | 9a53b8f2bc3c2ac366d208b620d6404e936e2a92 (diff) | |
download | idevicerestore-235e1b9bc4a3fc848b688daa857d49e953f7c135.tar.gz idevicerestore-235e1b9bc4a3fc848b688daa857d49e953f7c135.tar.bz2 |
Replace () with (void) for proper function prototypes
Diffstat (limited to 'src/common.c')
-rw-r--r-- | src/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
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"; |