diff options
author | Allan McRae <allan@archlinux.org> | 2010-12-18 22:26:04 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-12-20 18:03:21 -0600 |
commit | a611879318a4c39488f977308af8ee90f428995b (patch) | |
tree | c69723f5229b308ab568e0f211cc168055467131 /src/util/pactree.c | |
parent | 5776090055642bc7651a07cd9d31cf056d0531dc (diff) | |
download | pacman-a611879318a4c39488f977308af8ee90f428995b.tar.xz |
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 <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/util/pactree.c')
-rw-r--r-- | src/util/pactree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/pactree.c b/src/util/pactree.c index 5e869672..967f5c8c 100644 --- a/src/util/pactree.c +++ b/src/util/pactree.c @@ -54,7 +54,7 @@ int reverse = 0; int unique = 0; char *dbpath = NULL; -static int alpm_local_init() +static int alpm_local_init(void) { int ret; |