summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/sync.c2
-rw-r--r--src/util/pactree.c2
2 files changed, 2 insertions, 2 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)) {
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;