aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2011-10-24 21:38:25 +0000
committerXin LI <delphij@FreeBSD.org>2011-10-24 21:38:25 +0000
commit5b1fd5dbbfb063aa0cd1c71ce0451898b3cfe1be (patch)
tree68f491be09bb699e34049dd11c0d179cc4cc7db3 /usr.sbin/pkg_install
parent9782a86c85b99684d258c85ced50eb6b6fe7d6fc (diff)
Staticify elide_root() for now to fix build.
Notes
Notes: svn path=/head/; revision=226708
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 8a05dd2c2c38..8b434be7cdf9 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)