summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-03-24 18:49:56 -0600
committerBrian <brian.paul@tungstengraphics.com>2008-03-24 18:49:56 -0600
commit4654803e2595ea041ea83baf5e13e6c68890e9a7 (patch)
tree9362a50e2d23a80a8c8c9f0a2edac789d30d4478 /src/gallium/auxiliary/util
parentd6af8fc51d0288f34b92b7249c565c382e83765a (diff)
gallium: fix a few bugs, warnings in the p_debug code
added missing _ to a _debug_printf() call.
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r--src/gallium/auxiliary/util/p_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/p_debug.c b/src/gallium/auxiliary/util/p_debug.c
index 351de95c95..cc036dabf8 100644
--- a/src/gallium/auxiliary/util/p_debug.c
+++ b/src/gallium/auxiliary/util/p_debug.c
@@ -260,7 +260,7 @@ enum {
};
/* Check for aborts enabled. */
-static unsigned abort_en()
+static unsigned abort_en(void)
{
if (!mapped_config_file)
{
@@ -283,7 +283,7 @@ static unsigned abort_en()
return ((((char *)mapped_config_file)[0]) - 0x30) & eAssertAbortEn;
}
#else /* WIN32 */
-static unsigned abort_en()
+static unsigned abort_en(void)
{
return !GETENV("GALLIUM_ABORT_ON_ASSERT");
}