svn commit: r185259 - in projects/makefs: . compat compat/mtree
Warner Losh
imp at FreeBSD.org
Mon Nov 24 12:59:30 PST 2008
Author: imp
Date: Mon Nov 24 20:59:29 2008
New Revision: 185259
URL: http://svn.freebsd.org/changeset/base/185259
Log:
Remove the dump_node and vispath routines from compat/mtree/spec.c.
They aren't needed, and were the only users of the compat/vis.[ch]
files. As such, remove them from the Makefile.
Deleted:
projects/makefs/compat/vis.c
projects/makefs/compat/vis.h
Modified:
projects/makefs/Makefile
projects/makefs/compat/mtree/spec.c
Modified: projects/makefs/Makefile
==============================================================================
--- projects/makefs/Makefile Mon Nov 24 20:05:14 2008 (r185258)
+++ projects/makefs/Makefile Mon Nov 24 20:59:29 2008 (r185259)
@@ -3,7 +3,7 @@
PROG= makefs
COMPAT_MTREE= getid.c misc.c spec.c
COMPAT= fparseln.c getmode.c pack_dev.c pwcache.c stat_flags.c \
- strsuftoll.c vis.c
+ strsuftoll.c
SRCS= ffs.c makefs.c walk.c \
buf.c ffs_alloc.c ffs_balloc.c mkfs.c ufs_bmap.c \
ffs_bswap.c ffs_subr.c ffs_tables.c \
Modified: projects/makefs/compat/mtree/spec.c
==============================================================================
--- projects/makefs/compat/mtree/spec.c Mon Nov 24 20:05:14 2008 (r185258)
+++ projects/makefs/compat/mtree/spec.c Mon Nov 24 20:59:29 2008 (r185259)
@@ -274,6 +274,7 @@ noparent: mtree_err("no parent node");
return (root);
}
+#if 0
/*
* dump_nodes --
* dump the NODEs from `cur', based in the directory `dir'.
@@ -369,7 +370,7 @@ vispath(const char *path)
strsvis(pathbuf, path, VIS_CSTYLE, extra);
return(pathbuf);
}
-
+#endif
static dev_t
parsedev(char *arg)
More information about the svn-src-projects
mailing list