shithub: choc

Download patch

ref: e064e07828dec6de7d8c0d07c0ec125d75c80843
parent: 8ddcaf22592421592ce6962a47c79391c974babb
author: Turo Lamminen <turotl@gmail.com>
date: Tue Feb 13 13:49:18 EST 2018

Add format attribute to DEH_Warning

--- a/src/deh_io.h
+++ b/src/deh_io.h
@@ -26,7 +26,7 @@
 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, ...) PRINTF_ATTR(2, 3);
-void DEH_Warning(deh_context_t *context, char *msg, ...);
+void DEH_Warning(deh_context_t *context, char *msg, ...) PRINTF_ATTR(2, 3);
 boolean DEH_HadError(deh_context_t *context);
 
 #endif /* #ifndef DEH_IO_H */