diff options
author | Zack Rusin <[email protected]> | 2008-04-29 17:21:10 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2008-04-29 17:21:10 -0400 |
commit | 0d80f407f128f1a324e9dc0db2d0910bf32ba736 (patch) | |
tree | b2a5fe1382e1874cc6fa63965de78238c8d36a67 /src/gallium/include/pipe/p_debug.h | |
parent | 5692e09be8e8d1ed4803b528291b920df183c102 (diff) |
silence p_debug.h:63: warning: ISO C forbids forward references to ‘enum’ types
Diffstat (limited to 'src/gallium/include/pipe/p_debug.h')
-rw-r--r-- | src/gallium/include/pipe/p_debug.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/include/pipe/p_debug.h b/src/gallium/include/pipe/p_debug.h index ed47c0e14c8..7a7312ea122 100644 --- a/src/gallium/include/pipe/p_debug.h +++ b/src/gallium/include/pipe/p_debug.h @@ -59,9 +59,6 @@ extern "C" { #endif #endif - -enum pipe_format; - void _debug_vprintf(const char *format, va_list ap); @@ -114,7 +111,7 @@ void debug_print_blob( const char *name, const void *blob, unsigned size ); /* Print a message along with a prettified format string */ -void debug_print_format(const char *msg, enum pipe_format fmt ); +void debug_print_format(const char *msg, unsigned fmt ); #else #define debug_print_blob(_name, _blob, _size) ((void)0) #define debug_print_format(_msg, _fmt) ((void)0) |