summaryrefslogtreecommitdiffstats
path: root/tools/gnulib/patches/410-unmacro-fts-functions.patch
blob: 01a628595d634e30ae499f08036f66384ed50ed6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- a/lib/fts.in.h
+++ b/lib/fts.in.h
@@ -291,20 +291,20 @@ typedef struct _ftsent {
 __BEGIN_DECLS
 
  _GL_ATTRIBUTE_NODISCARD
-FTSENT  *fts_children (FTS *, int) __THROW;
+FTSENT  *_GL_FUNCDECL_SYS_NAME (fts_children) (FTS *, int) __THROW;
 
 _GL_ATTRIBUTE_NODISCARD
-int      fts_close (FTS *) __THROW;
+int      _GL_FUNCDECL_SYS_NAME (fts_close) (FTS *) __THROW;
 
 _GL_ATTRIBUTE_NODISCARD
-FTS     *fts_open (char * const *, int,
+FTS     *_GL_FUNCDECL_SYS_NAME (fts_open) (char * const *, int,
                    int (*)(const FTSENT **, const FTSENT **))
   _GL_ATTRIBUTE_DEALLOC (fts_close, 1) __THROW;
 
 _GL_ATTRIBUTE_NODISCARD
-FTSENT  *fts_read (FTS *) __THROW;
+FTSENT  *_GL_FUNCDECL_SYS_NAME (fts_read) (FTS *) __THROW;
 
-int      fts_set (FTS *, FTSENT *, int) __THROW;
+int      _GL_FUNCDECL_SYS_NAME (fts_set) (FTS *, FTSENT *, int) __THROW;
 
 #if GNULIB_FTS_DEBUG
 extern bool fts_debug;