From 14606c301cce168b042925726b19d5d7c5b725f6 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 14 Apr 2007 17:26:39 -0400 Subject: Add void to functions with empty parameter list Adding void [eg foo(void) instead of foo()] makes the code more compliant with ANSI C. Signed-off-by: Dan McGee --- src/pacman/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pacman/conf.c') diff --git a/src/pacman/conf.c b/src/pacman/conf.c index a770fd47..045bdcf6 100644 --- a/src/pacman/conf.c +++ b/src/pacman/conf.c @@ -36,7 +36,7 @@ #include "sync.h" #include "downloadprog.h" -config_t *config_new() +config_t *config_new(void) { config_t *config; -- cgit v1.2.3