diff options
author | Allan McRae <allan@archlinux.org> | 2010-12-19 00:15:05 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-12-30 09:39:23 -0600 |
commit | 351250adb49bea470b88fca54dcfba789b58545c (patch) | |
tree | dcd86764e9ff711517666f7ebf9fd997ec29fcf2 /src/pacman | |
parent | cb7ba4e4e5c1b46b726cb6c9f10395784511bb2a (diff) |
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>
Diffstat (limited to 'src/pacman')
-rw-r--r-- | src/pacman/pacman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 700b74db..20f44b7d 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -846,7 +846,7 @@ static char *get_tempfile(const char *path, const char *filename) { } /** External fetch callback */ -int download_with_xfercommand(const char *url, const char *localpath, +static int download_with_xfercommand(const char *url, const char *localpath, int force) { int ret = 0; int retval; |