• Matt Turner's avatar
    ralloc: Annotate printf functions with PRINTFLIKE(...) · 41b14d12
    Matt Turner authored
    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: default avatarIan Romanick <ian.d.romanick@intel.com>
ralloc.h 13.1 KB