From 66db65712e9d6d8f8d0c7ba53bfe886ab14f9e8d Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Thu, 2 Aug 2001 22:34:17 +0000 Subject: MFC 1.4: Complete prototype for fts_compar. Approved by: jkh --- include/fts.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/fts.h b/include/fts.h index 4fa4a3aa0ded..62e2254f2918 100644 --- a/include/fts.h +++ b/include/fts.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 */ -- cgit v1.3