summaryrefslogtreecommitdiff
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:56 +0000
commitd7afdd4fa38b818841fa210e2959845b5fc51cc4 (patch)
treedb017cb43fe4dae14d575fdd9ee29a5b91143f52 /wsutil
parentc6a1e3faa6ffb1d82dae09cc9e62d9a85ae9f8f4 (diff)
downloadwireshark-d7afdd4fa38b818841fa210e2959845b5fc51cc4.tar.gz
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> (cherry picked from commit 845998d8c3f2c600abfcf2c16ba2655b36b15507) Reviewed-on: https://code.wireshark.org/review/9498
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.