Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20261118125553.9133-5-ilt@envs.net>
Date: Wed, 18 Nov 2026 15:49:46 +0300
From: illiliti <ilt@...s.net>
To: musl@...ts.openwall.com
Cc: illiliti <ilt@...s.net>
Subject: [PATCH v1 04/18] fts: drop __BEGIN_DECLS, BSD-specific headers

---
 include/fts.h | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/include/fts.h b/include/fts.h
index 394948c5..0d3565fa 100644
--- a/include/fts.h
+++ b/include/fts.h
@@ -135,17 +135,11 @@ typedef struct _ftsent {
 	char fts_name[1];		/* file name */
 } FTSENT;
 
-#include <sys/cdefs.h>
-
-__BEGIN_DECLS
-#ifndef	__LIBC12_SOURCE__
-FTSENT	*fts_children(FTS *, int)		__RENAME(__fts_children60);
-int	 fts_close(FTS *)			__RENAME(__fts_close60);
+FTSENT	*fts_children(FTS *, int);
+int	 fts_close(FTS *);
 FTS	*fts_open(char * const *, int,
-    int (*)(const FTSENT **, const FTSENT **))	__RENAME(__fts_open60);
-FTSENT	*fts_read(FTS *)			__RENAME(__fts_read60);
-int	 fts_set(FTS *, FTSENT *, int)		__RENAME(__fts_set60);
-#endif
-__END_DECLS
+    int (*)(const FTSENT **, const FTSENT **));
+FTSENT	*fts_read(FTS *);
+int	 fts_set(FTS *, FTSENT *, int);
 
 #endif /* !_FTS_H_ */
-- 
2.55.0

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.