diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2013-04-09 09:00:10 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2013-04-09 09:00:10 -0700 |
commit | 8600b2a00d39fef61123f5eec972d8508740e460 (patch) | |
tree | d024db1b882cf4a8e714a1392347df694dc5b675 /src/msg.h | |
parent | 031b1b3c7e9e555420a48e9817abf06d26d5ebf8 (diff) |
319.12319.12
Diffstat (limited to 'src/msg.h')
-rw-r--r-- | src/msg.h | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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__ */ |