summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-12-08 00:28:33 +0100
committerGravatar Martin Szulecki2014-12-08 00:28:33 +0100
commit83c45ae97ffb8db73b92ccbf1e89443fefbcb937 (patch)
tree141989343c9da3e278c27902defe93361c96b4a0 /common
parent03c8f4fa8a41c11702ce10ce79c2a591f297c63e (diff)
downloadlibimobiledevice-83c45ae97ffb8db73b92ccbf1e89443fefbcb937.tar.gz
libimobiledevice-83c45ae97ffb8db73b92ccbf1e89443fefbcb937.tar.bz2
Replace () with (void) in libinternalcommon and tools for consistency
Diffstat (limited to 'common')
-rw-r--r--common/userpref.h2
-rw-r--r--common/utils.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/userpref.h b/common/userpref.h
index ce38018..0c70437 100644
--- a/common/userpref.h
+++ b/common/userpref.h
@@ -61,7 +61,7 @@ typedef gnutls_datum_t key_data_t;
typedef int16_t userpref_error_t;
-const char *userpref_get_config_dir();
+const char *userpref_get_config_dir(void);
int userpref_read_system_buid(char **system_buid);
userpref_error_t userpref_read_pair_record(const char *udid, plist_t *pair_record);
userpref_error_t userpref_save_pair_record(const char *udid, plist_t pair_record);
diff --git a/common/utils.h b/common/utils.h
index 97d3748..90cfa4a 100644
--- a/common/utils.h
+++ b/common/utils.h
@@ -40,7 +40,7 @@ char *string_concat(const char *str, ...);
char *string_build_path(const char *elem, ...);
char *string_format_size(uint64_t size);
char *string_toupper(char *str);
-char *generate_uuid();
+char *generate_uuid(void);
void buffer_read_from_filename(const char *filename, char **buffer, uint64_t *length);
void buffer_write_to_filename(const char *filename, const char *buffer, uint64_t length);