summaryrefslogtreecommitdiff
path: root/src/pacman
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2010-12-18 22:26:04 +1000
committerDan McGee <dan@archlinux.org>2010-12-20 18:03:21 -0600
commita611879318a4c39488f977308af8ee90f428995b (patch)
treec69723f5229b308ab568e0f211cc168055467131 /src/pacman
parent5776090055642bc7651a07cd9d31cf056d0531dc (diff)
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/pacman')
-rw-r--r--src/pacman/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index f9d12e4a..6961f3cf 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -571,7 +571,7 @@ static int sync_list(alpm_list_t *syncs, alpm_list_t *targets)
return(0);
}
-static alpm_list_t *syncfirst() {
+static alpm_list_t *syncfirst(void) {
alpm_list_t *i, *res = NULL;
for(i = config->syncfirst; i; i = alpm_list_next(i)) {