aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-07-04 13:14:56 -0700
committerGuy Harris <guy@alum.mit.edu>2015-07-04 20:15:33 +0000
commit845998d8c3f2c600abfcf2c16ba2655b36b15507 (patch)
tree112f8d87032793a3f90a1e6ba4ba99aff7c1de3f /wsutil
parent59017a22be9a5a86f5c365cc22a2f1e23205597b (diff)
Mark another function as printf-like.
Change-Id: I2aa13265da1efbf7edfe693c9b434940462ca237 Reviewed-on: https://code.wireshark.org/review/9497 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/report_err.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsutil/report_err.h b/wsutil/report_err.h
index 06530a50b7..ef781ca3ba 100644
--- a/wsutil/report_err.h
+++ b/wsutil/report_err.h
@@ -49,7 +49,7 @@ WS_DLL_PUBLIC void init_report_err(
/*
* Report a general error.
*/
-WS_DLL_PUBLIC void report_failure(const char *msg_format, ...);
+WS_DLL_PUBLIC void report_failure(const char *msg_format, ...) G_GNUC_PRINTF(1, 2);
/*
* Report an error when trying to open a file.