From 351250adb49bea470b88fca54dcfba789b58545c Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sun, 19 Dec 2010 00:15:05 +1000 Subject: Declare all local functions static All functions that are limited to the local translation unit are declared static. This exposed that the _pkg_get_deltas declaration in be_local.c was being satified by the function in packages.c which when declared static caused linker failures. Fixes all warnings with -Wmissing-{declarations,prototypes}. Signed-off-by: Allan McRae Signed-off-by: Dan McGee --- src/util/cleanupdelta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/cleanupdelta.c') diff --git a/src/util/cleanupdelta.c b/src/util/cleanupdelta.c index 20102824..a2d1541e 100644 --- a/src/util/cleanupdelta.c +++ b/src/util/cleanupdelta.c @@ -37,7 +37,7 @@ static void cleanup(int signum) { exit(signum); } -void output_cb(pmloglevel_t level, char *fmt, va_list args) +static void output_cb(pmloglevel_t level, char *fmt, va_list args) { if(strlen(fmt)) { switch(level) { -- cgit v1.2.3-24-g4f1b