summaryrefslogtreecommitdiff
path: root/def.h
diff options
context:
space:
mode:
Diffstat (limited to 'def.h')
-rw-r--r--def.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/def.h b/def.h
index ca37e73..6c705a1 100644
--- a/def.h
+++ b/def.h
@@ -176,6 +176,6 @@ int cppsetup(const char *filename,
struct inclist *inc);
-extern void fatalerr(const char *, ...);
-extern void warning(const char *, ...);
-extern void warning1(const char *, ...);
+extern void fatalerr(const char *, ...) _X_ATTRIBUTE_PRINTF(1, 2);
+extern void warning(const char *, ...) _X_ATTRIBUTE_PRINTF(1, 2);
+extern void warning1(const char *, ...) _X_ATTRIBUTE_PRINTF(1, 2);