From a611879318a4c39488f977308af8ee90f428995b Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sat, 18 Dec 2010 22:26:04 +1000 Subject: Always specify arguement type in function delcarations Always declare a function with (void) rather than () when we expect no arguements. Fixes all warnings with -Wstrict-prototypes. Signed-off-by: Allan McRae Signed-off-by: Dan McGee --- lib/libalpm/util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libalpm/util.h') diff --git a/lib/libalpm/util.h b/lib/libalpm/util.h index 0b804205..5464b239 100644 --- a/lib/libalpm/util.h +++ b/lib/libalpm/util.h @@ -63,8 +63,8 @@ int _alpm_makepath(const char *path); int _alpm_makepath_mode(const char *path, mode_t mode); int _alpm_copyfile(const char *src, const char *dest); char *_alpm_strtrim(char *str); -int _alpm_lckmk(); -int _alpm_lckrm(); +int _alpm_lckmk(void); +int _alpm_lckrm(void); int _alpm_unpack_single(const char *archive, const char *prefix, const char *fn); int _alpm_unpack(const char *archive, const char *prefix, alpm_list_t *list, int breakfirst); int _alpm_rmrf(const char *path); -- cgit v1.2.3-24-g4f1b