summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ChangeLog4
-rw-r--r--lib/xfts.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 60485cc88..f4efdccba 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,5 +1,9 @@
2003-10-17 Jim Meyering <jim@meyering.net>
+ * xfts.c, xfts.h: New files.
+ This factors out code used by du.c, chmod.c, and chown-core.c.
+ * Makefile.am (libfetish_a_SOURCES): Add xfts.c and xfts.h.
+
* error.h: Update from gnulib.
* getpass.c: Likewise.
* fnmatch.c: Likewise.
diff --git a/lib/xfts.h b/lib/xfts.h
new file mode 100644
index 000000000..47906132a
--- /dev/null
+++ b/lib/xfts.h
@@ -0,0 +1,5 @@
+#include "fts_.h"
+
+FTS *
+xfts_open (char * const *, int options,
+ int (*) (const FTSENT **, const FTSENT **));