summaryrefslogtreecommitdiff
path: root/src/msg.h
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2013-04-09 09:00:10 -0700
committerAaron Plattner <aplattner@nvidia.com>2013-04-09 09:00:10 -0700
commit8600b2a00d39fef61123f5eec972d8508740e460 (patch)
treed024db1b882cf4a8e714a1392347df694dc5b675 /src/msg.h
parent031b1b3c7e9e555420a48e9817abf06d26d5ebf8 (diff)
319.12319.12
Diffstat (limited to 'src/msg.h')
-rw-r--r--src/msg.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/msg.h b/src/msg.h
index 1188ea9..d580775 100644
--- a/src/msg.h
+++ b/src/msg.h
@@ -23,10 +23,12 @@
#include <stdarg.h>
#include <stdio.h>
-void nv_error_msg(const char*, ...);
-void nv_warning_msg(const char*, ...);
-void nv_info_msg(const char*, const char*, ...);
-void nv_msg(const char*, const char*, ...);
-void nv_msg_preserve_whitespace(const char*, const char*, ...);
+#include "common-utils.h"
+
+void nv_error_msg(const char*, ...) NV_ATTRIBUTE_PRINTF(1, 2);
+void nv_warning_msg(const char*, ...) NV_ATTRIBUTE_PRINTF(1, 2);
+void nv_info_msg(const char*, const char*, ...) NV_ATTRIBUTE_PRINTF(2, 3);
+void nv_msg(const char*, const char*, ...) NV_ATTRIBUTE_PRINTF(2, 3);
+void nv_msg_preserve_whitespace(const char*, const char*, ...) NV_ATTRIBUTE_PRINTF(2, 3);
#endif /* __MSG_H__ */