foxygit / doom Log in
commit 83c9d0516736ed78b42ebf2360b6e4de98a4fe6c
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Wed Feb 14 10:40:59 2018 +0200
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Sat Feb 17 16:03:38 2018 +0200

    Add format string attribute to DEH_String
---
 src/deh_str.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/deh_str.h b/src/deh_str.h
index cd87fb40..e69f5a03 100644
--- a/src/deh_str.h
+++ b/src/deh_str.h
@@ -24,7 +24,7 @@

 // Used to do dehacked text substitutions throughout the program

-char *DEH_String(char *s);
+char *DEH_String(char *s) PRINTF_ARG_ATTR(1);
 void DEH_printf(char *fmt, ...) PRINTF_ATTR(1, 2);
 void DEH_fprintf(FILE *fstream, char *fmt, ...) PRINTF_ATTR(2, 3);
 void DEH_snprintf(char *buffer, size_t len, char *fmt, ...) PRINTF_ATTR(3, 4);