summaryrefslogtreecommitdiff
path: root/include/fts.h
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
committerWarner Losh <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
commitbb28f3c29b4c91af1b0e79e456294bb08735648a (patch)
treeb4ea687a7ecac173665d9f3a8a858a98631f494e /include/fts.h
parent194788fafcb927f0affa1a56e21a1e8373f81f9c (diff)
downloadsrc-test2-bb28f3c29b4c91af1b0e79e456294bb08735648a.tar.gz
src-test2-bb28f3c29b4c91af1b0e79e456294bb08735648a.zip
Notes
Diffstat (limited to 'include/fts.h')
-rw-r--r--include/fts.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/fts.h b/include/fts.h
index 62e2254f2918..36356569e96f 100644
--- a/include/fts.h
+++ b/include/fts.h
@@ -47,7 +47,7 @@ typedef struct {
int fts_pathlen; /* sizeof(path) */
int fts_nitems; /* elements in the sort array */
int (*fts_compar) /* compare function */
- __P((const struct _ftsent **, const struct _ftsent **));
+(const struct _ftsent **, const struct _ftsent **);
#define FTS_COMFOLLOW 0x001 /* follow command line symlinks */
#define FTS_LOGICAL 0x002 /* logical walk */
@@ -119,12 +119,12 @@ typedef struct _ftsent {
#include <sys/cdefs.h>
__BEGIN_DECLS
-FTSENT *fts_children __P((FTS *, int));
-int fts_close __P((FTS *));
-FTS *fts_open __P((char * const *, int,
- int (*)(const FTSENT **, const FTSENT **)));
-FTSENT *fts_read __P((FTS *));
-int fts_set __P((FTS *, FTSENT *, int));
+FTSENT *fts_children(FTS *, int);
+int fts_close(FTS *);
+FTS *fts_open(char * const *, int,
+ int (*)(const FTSENT **, const FTSENT **));
+FTSENT *fts_read(FTS *);
+int fts_set(FTS *, FTSENT *, int);
__END_DECLS
#endif /* !_FTS_H_ */