0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-04 18:45:52 +00:00
termux-packages/packages/hexer/0001-deprecated-non-prototype.patch
2024-08-24 11:51:13 +08:00

13 lines
288 B
Diff

--- a/set.h
+++ b/set.h
@@ -55,6 +55,9 @@
#ifdef __GNUC__
#pragma GCC diagnostic error "-Wstrict-prototypes"
#endif
+#if defined(__clang__) && __clang_major__ >= 15
+#pragma GCC diagnostic ignored "-Wdeprecated-non-prototype"
+#endif
long
s_get_option_integer(const char *option);