diff options
author | Dan McGee <dan@archlinux.org> | 2010-03-14 18:47:40 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-03-14 18:47:40 -0500 |
commit | 69b3a811a138a84aa09e8e81b2912f6fcd0b47b9 (patch) | |
tree | 08921a5bfc4a36babaeabc99f51cc26959549ab6 /src | |
parent | d39b1dbe627af218e49be6424857089a5888903b (diff) | |
download | pacman-69b3a811a138a84aa09e8e81b2912f6fcd0b47b9.tar.xz |
Mark two functions static
These were just introduced in the `--print` patch, and don't need to be
exposed outside of util.c.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c index d5ad229b..fb6f5219 100644 --- a/src/pacman/util.c +++ b/src/pacman/util.c @@ -563,7 +563,7 @@ void display_targets(const alpm_list_t *pkgs, int install) FREELIST(targets); } -off_t pkg_get_size(pmpkg_t *pkg) +static off_t pkg_get_size(pmpkg_t *pkg) { switch(config->op) { case PM_OP_SYNC: @@ -575,7 +575,7 @@ off_t pkg_get_size(pmpkg_t *pkg) } } -char *pkg_get_location(pmpkg_t *pkg) +static char *pkg_get_location(pmpkg_t *pkg) { pmdb_t *db; const char *dburl; |