summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-01-01 20:11:07 +0100
committerMitya Selivanov <automainint@guattari.tech>2023-01-01 20:11:07 +0100
commit4074e744e63438b0dcc6144fdafbd7669d79a3a1 (patch)
tree48dc3549847bc1290a133c96691deee1d986fe05 /source
parent86d86462b420f098ee34a022cffd922e3192dabe (diff)
downloadkit-4074e744e63438b0dcc6144fdafbd7669d79a3a1.zip
Ignore zero variadic macro arguments
Diffstat (limited to 'source')
-rw-r--r--source/kit/async_function.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/kit/async_function.h b/source/kit/async_function.h
index 1791291..db2c2ed 100644
--- a/source/kit/async_function.h
+++ b/source/kit/async_function.h
@@ -3,6 +3,10 @@
#include <string.h>
+#ifdef __GNUC__
+# pragma GCC diagnostic ignored "-Wgnu-zero-variadic-macro-arguments"
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif