ref: 8ddcaf22592421592ce6962a47c79391c974babb
parent: ce935d5ac051860c73ec9f2fad650393c345902a
author: Turo Lamminen <turotl@gmail.com>
date: Tue Feb 13 13:47:14 EST 2018
Add format attribute to DEH_Error
--- a/src/deh_io.h
+++ b/src/deh_io.h
@@ -25,7 +25,7 @@
void DEH_CloseFile(deh_context_t *context);
int DEH_GetChar(deh_context_t *context);
char *DEH_ReadLine(deh_context_t *context, boolean extended);
-void DEH_Error(deh_context_t *context, char *msg, ...);
+void DEH_Error(deh_context_t *context, char *msg, ...) PRINTF_ATTR(2, 3);
void DEH_Warning(deh_context_t *context, char *msg, ...);
boolean DEH_HadError(deh_context_t *context);