1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 15:58:50 -05:00

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>
This commit is contained in:
Dan McGee 2010-03-14 18:47:40 -05:00
parent d39b1dbe62
commit 69b3a811a1

View File

@ -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;