diff options
author | Rob Clark <[email protected]> | 2015-02-25 08:35:32 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-02-25 08:37:58 -0500 |
commit | 864340219ba5aa90a19eb1336459d78a9b02cd16 (patch) | |
tree | 96e0a5ae00985356a7fed330578691d6c6f2d042 /docs | |
parent | 67e3302497e90a4602921b4ac4621e97df60f850 (diff) |
freedreno: drop ARRAY_SIZE macro
Since now ARRAY_SIZE has been added to util/macros.h. Fixes a bunch of:
freedreno_util.h:79:0: warning: "ARRAY_SIZE" redefined
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
^
In file included from ../../../../src/gallium/include/pipe/p_compiler.h:36:0,
from ../../../../src/gallium/include/pipe/p_context.h:31,
from freedreno_context.h:32,
from freedreno_context.c:29:
../../../../src/util/macros.h:29:0: note: this is the location of the previous definition
# define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x)))
^
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions