summaryrefslogtreecommitdiffstats
path: root/include/base/ereport.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/base/ereport.h')
-rw-r--r--include/base/ereport.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/base/ereport.h b/include/base/ereport.h
index fe096750..a097a939 100644
--- a/include/base/ereport.h
+++ b/include/base/ereport.h
@@ -60,7 +60,12 @@ NSPR_BEGIN_EXTERN_C
* the current date.
*/
-NSAPI_PUBLIC int INTereport(int degree, char *fmt, ...);
+NSAPI_PUBLIC int INTereport(int degree, char *fmt, ...)
+#ifdef __GNUC__
+ __attribute__ ((format (printf, 2, 3)));
+#else
+ ;
+#endif
NSAPI_PUBLIC int INTereport_v(int degree, char *fmt, va_list args);
NSPR_END_EXTERN_C