mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
19 lines
1.0 KiB
Diff
19 lines
1.0 KiB
Diff
diff --git a/src/include/spf_log.h b/src/include/spf_log.h
|
|
index 0d2adeb..4e22ef4 100644
|
|
--- a/src/include/spf_log.h
|
|
+++ b/src/include/spf_log.h
|
|
@@ -60,10 +60,10 @@ void SPF_debugv( const char *file, int line, const char *format, va_list ap ) __
|
|
|
|
#if defined( __STDC_VERSION__ ) && __STDC_VERSION__ >= 199901L
|
|
|
|
-#define SPF_errorf(format, ... ) SPF_errorx( __FILE__, __LINE__, format, __VA_ARGS__ )
|
|
-#define SPF_warningf(format, ... ) SPF_warningx( __FILE__, __LINE__, format, __VA_ARGS__ )
|
|
-#define SPF_infof(format, ... ) SPF_infox( __FILE__, __LINE__, format, __VA_ARGS__ )
|
|
-#define SPF_debugf(format, ... ) SPF_debugx( __FILE__, __LINE__, format, __VA_ARGS__ )
|
|
+#define SPF_errorf(format, ... ) SPF_errorx( __FILE__, __LINE__, format, ##__VA_ARGS__ )
|
|
+#define SPF_warningf(format, ... ) SPF_warningx( __FILE__, __LINE__, format, ##__VA_ARGS__ )
|
|
+#define SPF_infof(format, ... ) SPF_infox( __FILE__, __LINE__, format, ##__VA_ARGS__ )
|
|
+#define SPF_debugf(format, ... ) SPF_debugx( __FILE__, __LINE__, format, ##__VA_ARGS__ )
|
|
|
|
#elif defined( __GNUC__ )
|