diff options
author | Samuel Bronson <naesten@gmail.com> | 2011-12-26 19:57:59 -0500 |
---|---|---|
committer | Samuel Bronson <naesten@gmail.com> | 2011-12-26 23:43:40 -0500 |
commit | 29922ff9cb4e782bb8f8916d9dc97c7d14f2abe7 (patch) | |
tree | 6b9d9c75d41b84f516ceea1ed4d19e92ec5ab098 /crawl-ref/source/mpr.h | |
parent | fa0910a69bdf73c96e1885b8e5f21ab14135a4df (diff) | |
download | crawl-ref-29922ff9cb4e782bb8f8916d9dc97c7d14f2abe7.tar.gz crawl-ref-29922ff9cb4e782bb8f8916d9dc97c7d14f2abe7.zip |
Enable printf warnings for yet more functions & fix problems identified
Diffstat (limited to 'crawl-ref/source/mpr.h')
-rw-r--r-- | crawl-ref/source/mpr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/mpr.h b/crawl-ref/source/mpr.h index 9ab21d24e0..50b9e0ec6f 100644 --- a/crawl-ref/source/mpr.h +++ b/crawl-ref/source/mpr.h @@ -94,9 +94,9 @@ void mprf(msg_channel_type channel, int param, PRINTF(2, )); void mprf(msg_channel_type channel, PRINTF(1, )); void mprf(PRINTF(0, )); -void mprf_nocap(msg_channel_type channel, int param, const char *format, ...); -void mprf_nocap(msg_channel_type channel, const char *format, ...); -void mprf_nocap(const char *format, ...); +void mprf_nocap(msg_channel_type channel, int param, PRINTF(2, )); +void mprf_nocap(msg_channel_type channel, PRINTF(1, )); +void mprf_nocap(PRINTF(0, )); // Yay for C89 and lack of variadic #defines... #ifdef DEBUG_DIAGNOSTICS |