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
1 changed files with 2 additions and 2 deletions
|
@ -563,7 +563,7 @@ void display_targets(const alpm_list_t *pkgs, int install)
|
||||||
FREELIST(targets);
|
FREELIST(targets);
|
||||||
}
|
}
|
||||||
|
|
||||||
off_t pkg_get_size(pmpkg_t *pkg)
|
static off_t pkg_get_size(pmpkg_t *pkg)
|
||||||
{
|
{
|
||||||
switch(config->op) {
|
switch(config->op) {
|
||||||
case PM_OP_SYNC:
|
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;
|
pmdb_t *db;
|
||||||
const char *dburl;
|
const char *dburl;
|
||||||
|
|
Loading…
Add table
Reference in a new issue