summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2011-10-24 21:38:25 +0000
committerdelphij <delphij@FreeBSD.org>2011-10-24 21:38:25 +0000
commit2d67bb3650dddd0cc2dacd206d347d77e29deb6e (patch)
tree68f491be09bb699e34049dd11c0d179cc4cc7db3 /usr.sbin/pkg_install
parent260ba12ddd0b50907d5ed8021ab32b2b5ffc4ff1 (diff)
downloadFreeBSD-src-2d67bb3650dddd0cc2dacd206d347d77e29deb6e.zip
FreeBSD-src-2d67bb3650dddd0cc2dacd206d347d77e29deb6e.tar.gz
Staticify elide_root() for now to fix build.
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/info/show.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/info/show.c b/usr.sbin/pkg_install/info/show.c
index 8a05dd2..8b434be 100644
--- a/usr.sbin/pkg_install/info/show.c
+++ b/usr.sbin/pkg_install/info/show.c
@@ -207,7 +207,7 @@ show_plist(const char *title, Package *plist, plist_t type, Boolean showall)
}
}
-const char *
+static const char *
elide_root(const char *dir)
{
if (strcmp(dir, "/") == 0)
OpenPOWER on IntegriCloud