Complete prototype for fts_compar.

This commit is contained in:
Ruslan Ermilov 2001-06-13 14:59:57 +00:00
parent 44ac1ad98e
commit 589ee357a4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78169
2 changed files with 6 additions and 2 deletions

View file

@ -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 */

View file

@ -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 */