summaryrefslogtreecommitdiffstats
path: root/src/intel/Makefile.vulkan.am
diff options
context:
space:
mode:
authorMauro Rossi <[email protected]>2017-08-24 23:52:20 +0200
committerRob Herring <[email protected]>2017-08-24 17:23:24 -0500
commit725741f10d5e8889115c5f25b7a1fafb7099d97c (patch)
tree81c2179904043b5a7439ad3c325aee0d5d5d4ac8 /src/intel/Makefile.vulkan.am
parentfc99cb3c9edee3af773700cf7ebdc60dc02fcaba (diff)
ac/debug: use util_strchrnul() to fix android build error
Similar to e09d04cd56 "radeonsi: use util_strchrnul() to fix android build error" Android Bionic does not support strchrnul() string function, gallium auxiliary util/u_string.h provides util_strchrnul() This change avoids the following warning and error: external/mesa/src/amd/common/ac_debug.c:501:15: warning: implicit declaration of function 'strchrnul' is invalid in C99 char *end = strchrnul(out, '\n'); ^ external/mesa/src/amd/common/ac_debug.c:501:9: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' char *end = strchrnul(out, '\n'); ^ ~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. Fixes: c2c3912410 "ac/debug: annotate IB dumps with the raw values" Reviewed-by: Marek Olšák <[email protected]> Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'src/intel/Makefile.vulkan.am')
0 files changed, 0 insertions, 0 deletions