[PATCH xserver 2/2] os: Annotate OsVendorFatalError as _X_ATTRIBUTE_PRINTF
Jeremy Huddleston
jeremyhu at apple.com
Mon Apr 23 20:20:27 PDT 2012
On Apr 23, 2012, at 9:58 AM, Michal Suchanek <hramrach at gmail.com> wrote:
>> @@ -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);
>
> This looks OK and does not produce additional warnings which is
> probably the intended result ;-)
>
> Tested-By: Michal Suchanek <hramrach at gmail.com>
Thanks. It actually resolves a warning in XQuartz.
--Jeremy
More information about the xorg-devel
mailing list