- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
32 lines
722 B
Diff
32 lines
722 B
Diff
__BEGIN_DECLS/__END_DECLS are BSD specific and not defined in musl
|
|
glibc and uclibc had sys/cdefs.h doing it.
|
|
|
|
Upstream-Status: Inactive-Upstream [current release is from 1997; no vcs anywhere]
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
Index: tcp_wrappers_7.6/tcpd.h
|
|
===================================================================
|
|
--- tcp_wrappers_7.6.orig/tcpd.h
|
|
+++ tcp_wrappers_7.6/tcpd.h
|
|
@@ -11,7 +11,9 @@
|
|
#include <netinet/in.h>
|
|
#include <stdio.h>
|
|
|
|
-__BEGIN_DECLS
|
|
+#ifdef __cplusplus
|
|
+extern "C" {
|
|
+#endif
|
|
|
|
/* Structure to describe one communications endpoint. */
|
|
|
|
@@ -252,6 +254,8 @@ extern char *fix_strtok();
|
|
extern char *my_strtok();
|
|
#endif
|
|
|
|
-__END_DECLS
|
|
+#ifdef __cplusplus
|
|
+}
|
|
+#endif
|
|
|
|
#endif
|