From 2d67bb3650dddd0cc2dacd206d347d77e29deb6e Mon Sep 17 00:00:00 2001 From: delphij Date: Mon, 24 Oct 2011 21:38:25 +0000 Subject: Staticify elide_root() for now to fix build. --- usr.sbin/pkg_install/info/show.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/pkg_install/info') 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) -- cgit v1.1