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:
parent
d39b1dbe62
commit
69b3a811a1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue