[PATCH xserver 2/2] os: Annotate OsVendorFatalError as _X_ATTRIBUTE_PRINTF

Jeremy Huddleston jeremyhu at apple.com
Thu Apr 19 16:54:53 PDT 2012


Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
---
 include/os.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/os.h b/include/os.h
index 166c60c..276eb52 100644
--- a/include/os.h
+++ b/include/os.h
@@ -321,7 +321,8 @@ extern _X_EXPORT void
 OsCleanup(Bool);
 
 extern _X_EXPORT void
-OsVendorFatalError(const char *f, va_list args);
+OsVendorFatalError(const char *f, va_list args)
+_X_ATTRIBUTE_PRINTF(1, 0);
 
 extern _X_EXPORT void
 OsVendorInit(void);
-- 
1.7.10



More information about the xorg-devel mailing list