diff options
author | Matt Turner <[email protected]> | 2012-10-23 13:30:09 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2012-10-25 10:47:43 -0700 |
commit | 41b14d125196e75cdd4599a4c1069b41e7000d48 (patch) | |
tree | a45461ed91a47dcd74ecec8530b7cc8cfce7a67d /include/EGL | |
parent | ec57fbbc72b552a4f894f32798a2ace16749f520 (diff) |
ralloc: Annotate printf functions with PRINTFLIKE(...)
Catches problems such as (in the gles3 branch)
glcpp-parse.y: In function '_glcpp_parser_handle_version_declaration':
glcpp-parse.y:1990:39: warning: format '%lli' expects argument of type
'long long int', but argument 4 has type 'int' [-Wformat]
As a side-effect, remove ralloc.c's likely/unlikely macros and just use
the ones from main/compiler.h.
NOTE: This is a candidate for the release branches.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'include/EGL')
0 files changed, 0 insertions, 0 deletions