diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-10-11 19:36:13 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-10-16 22:29:54 +0100 |
commit | e893d570aa3e9ae8df6a30ac4adaf0949a2fc733 (patch) | |
tree | a2b77dd6bb98f567ff027aa36df85eacb0ed03e4 /include/os.h | |
parent | e59cc83bcdca6b64c1bfb2de395d741757f615f6 (diff) |
Use X_ATTRIBUTE_PRINTF where suggested for os.h
InitOutput.c: In function ‘OsVendorInit’:
InitOutput.c:630:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wmissing-format-attribute]
winprocarg.c: In function ‘ddxProcessArgument’:
winprocarg.c:231:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wmissing-format-attribute]
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
Diffstat (limited to 'include/os.h')
-rw-r--r-- | include/os.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/os.h b/include/os.h index e32421610..c7108a5d3 100644 --- a/include/os.h +++ b/include/os.h @@ -88,7 +88,9 @@ extern void ddxBeforeReset(void); #endif #ifdef DDXOSVERRORF -extern _X_EXPORT void (*OsVendorVErrorFProc) (const char *, va_list args); +extern _X_EXPORT void (*OsVendorVErrorFProc) (const char *, + va_list args) +_X_ATTRIBUTE_PRINTF(1, 0); #endif extern _X_EXPORT int WaitForSomething(int * /*pClientsReady */ |