diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/util/u_debug.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gallium/auxiliary/util/u_debug.c b/src/gallium/auxiliary/util/u_debug.c index 3d913be606..954f5706ef 100644 --- a/src/gallium/auxiliary/util/u_debug.c +++ b/src/gallium/auxiliary/util/u_debug.c @@ -174,12 +174,6 @@ debug_get_num_option(const char *name, long dfault) return result; } -static INLINE int -max( int a, - int b ) -{ - return (a > b) ? a : b; -} unsigned long debug_get_flags_option(const char *name, @@ -198,7 +192,7 @@ debug_get_flags_option(const char *name, result = dfault; debug_printf("%s: help for %s:\n", __FUNCTION__, name); for (; flags->name; ++flags) - namealign = max(namealign, strlen(flags->name)); + namealign = MAX2(namealign, strlen(flags->name)); for (flags = orig; flags->name; ++flags) debug_printf("| %*s [0x%0*lx]%s%s\n", namealign, flags->name, sizeof(unsigned long)*CHAR_BIT/4, flags->value, |