summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtree/compare.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-11-05 22:26:08 +0000
committerphk <phk@FreeBSD.org>2003-11-05 22:26:08 +0000
commit7a3cd410f3a16da94524b5c7e8e18c0f38f820dd (patch)
tree382104a66bfe97e7e359325b15384857b7b59927 /usr.sbin/mtree/compare.c
parent5ef31a1b16d94984d9191da253117e79cd0a079b (diff)
downloadFreeBSD-src-7a3cd410f3a16da94524b5c7e8e18c0f38f820dd.zip
FreeBSD-src-7a3cd410f3a16da94524b5c7e8e18c0f38f820dd.tar.gz
Give mtree(8) the ability to take [two -f spec] arguments and compare
the two specifications to each other.
Diffstat (limited to 'usr.sbin/mtree/compare.c')
-rw-r--r--usr.sbin/mtree/compare.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/mtree/compare.c b/usr.sbin/mtree/compare.c
index 108d16e..5b621f0 100644
--- a/usr.sbin/mtree/compare.c
+++ b/usr.sbin/mtree/compare.c
@@ -64,8 +64,6 @@ __FBSDID("$FreeBSD$");
extern int uflag;
extern int lineno;
-static const char *ftype(u_int);
-
#define INDENTNAMELEN 8
#define LABEL \
if (!label++) { \
@@ -333,7 +331,7 @@ inotype(u_int type)
/* NOTREACHED */
}
-static const char *
+const char *
ftype(u_int type)
{
switch(type) {
OpenPOWER on IntegriCloud