Wrap the fts function declarations in __BEGIN_DECL to make them usable
from C++.
This commit is contained in:
parent
8f20b21453
commit
786faee166
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: fts.h,v 1.6 2008/10/06 12:36:20 joerg Exp $ */
|
||||
/* $NetBSD: fts.h,v 1.7 2012/03/01 16:18:51 hans Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -117,11 +117,15 @@ typedef struct _ftsent {
|
|||
char fts_name[1]; /* file name */
|
||||
} FTSENT;
|
||||
|
||||
#include <nbcompat/cdefs.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
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 /* !_NBCOMPAT_FTS_H_ */
|
||||
|
|
Loading…
Reference in a new issue