From 69b3a811a138a84aa09e8e81b2912f6fcd0b47b9 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 14 Mar 2010 18:47:40 -0500 Subject: 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 --- src/pacman/util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pacman') 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; -- cgit v1.2.3-70-g09d2