Files
RedBear-OS/local/patches/relibc/P0-strtold-cpp-linkage-and-compat.patch
T

26 lines
554 B
Diff

diff --git a/src/header/stdlib/cbindgen.toml b/src/header/stdlib/cbindgen.toml
--- a/src/header/stdlib/cbindgen.toml
+++ b/src/header/stdlib/cbindgen.toml
@@ -1,21 +1,5 @@
sys_includes = ["stddef.h", "alloca.h", "wchar.h", "features.h"]
include_guard = "_RELIBC_STDLIB_H"
-trailer = """
-#ifndef _RELIBC_STDLIB_EXTRA_H
-#define _RELIBC_STDLIB_EXTRA_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-long double strtold(const char *nptr, char **endptr);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-"""
language = "C"
style = "Type"
no_includes = true