gallium: fix a few bugs, warnings in the p_debug code

added missing _ to a _debug_printf() call.
This commit is contained in:
Brian
2008-03-24 18:49:56 -06:00
parent d6af8fc51d
commit 4654803e25
2 changed files with 8 additions and 5 deletions

View File

@@ -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");
}