diff options
author | hans <hans@pkgsrc.org> | 2012-03-01 16:18:51 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-03-01 16:18:51 +0000 |
commit | 786faee166a17d1d79be8b7105308f6813460e74 (patch) | |
tree | 420a26727610c90b8316c7bd15a3ca76ab8bb140 /pkgtools/libnbcompat | |
parent | 8f20b2145381629360df09af244e429b99dd203b (diff) | |
download | pkgsrc-786faee166a17d1d79be8b7105308f6813460e74.tar.gz |
Wrap the fts function declarations in __BEGIN_DECL to make them usable
from C++.
Diffstat (limited to 'pkgtools/libnbcompat')
-rw-r--r-- | pkgtools/libnbcompat/files/nbcompat/fts.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgtools/libnbcompat/files/nbcompat/fts.h b/pkgtools/libnbcompat/files/nbcompat/fts.h index 6294bb84481..4ca0a26b17d 100644 --- a/pkgtools/libnbcompat/files/nbcompat/fts.h +++ b/pkgtools/libnbcompat/files/nbcompat/fts.h @@ -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_ */ |