Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-03-14 18:47:40 -0500
committerDan McGee <dan@archlinux.org>2010-03-14 18:47:40 -0500
commit69b3a811a138a84aa09e8e81b2912f6fcd0b47b9 (patch)
tree08921a5bfc4a36babaeabc99f51cc26959549ab6 /src
parentd39b1dbe627af218e49be6424857089a5888903b (diff)
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.c4
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;