Declare all local functions static
commit351250adb49bea470b88fca54dcfba789b58545c
authorAllan McRae <allan@archlinux.org>
Sat, 18 Dec 2010 14:15:05 +0000 (19 00:15 +1000)
committerDan McGee <dan@archlinux.org>
Thu, 30 Dec 2010 15:39:23 +0000 (30 09:39 -0600)
treedcd86764e9ff711517666f7ebf9fd997ec29fcf2
parentcb7ba4e4e5c1b46b726cb6c9f10395784511bb2a
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 <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/be_local.c
lib/libalpm/be_package.c
lib/libalpm/package.c
src/pacman/pacman.c
src/util/cleanupdelta.c
src/util/testdb.c
src/util/testpkg.c