Add format string attribute to DEH_String

This commit is contained in:
Turo Lamminen 2018-02-14 10:40:59 +02:00
parent 58e56f14a0
commit 83c9d05167

View file

@ -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);