diff options
author | ru <ru@FreeBSD.org> | 2001-06-13 14:59:57 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-06-13 14:59:57 +0000 |
commit | ebf16ff17846153d72e551c9789066b305bae31e (patch) | |
tree | ebeff76337d662e605335d5c9788723eb439811f /lib/libc/gen/fts-compat.h | |
parent | 1007d1587e4f9658c50af0d1cea55c0d172e21e7 (diff) | |
download | FreeBSD-src-ebf16ff17846153d72e551c9789066b305bae31e.zip FreeBSD-src-ebf16ff17846153d72e551c9789066b305bae31e.tar.gz |
Complete prototype for fts_compar.
Diffstat (limited to 'lib/libc/gen/fts-compat.h')
-rw-r--r-- | lib/libc/gen/fts-compat.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/gen/fts-compat.h b/lib/libc/gen/fts-compat.h index 4fa4a3a..62e2254 100644 --- a/lib/libc/gen/fts-compat.h +++ b/lib/libc/gen/fts-compat.h @@ -31,6 +31,7 @@ * SUCH DAMAGE. * * @(#)fts.h 8.3 (Berkeley) 8/14/94 + * $FreeBSD$ */ #ifndef _FTS_H_ @@ -45,7 +46,8 @@ typedef struct { int fts_rfd; /* fd for root */ int fts_pathlen; /* sizeof(path) */ int fts_nitems; /* elements in the sort array */ - int (*fts_compar)(); /* compare function */ + int (*fts_compar) /* compare function */ + __P((const struct _ftsent **, const struct _ftsent **)); #define FTS_COMFOLLOW 0x001 /* follow command line symlinks */ #define FTS_LOGICAL 0x002 /* logical walk */ |