Fixed a whole slew of compiler warnings that -Wall exposed.

This commit is contained in:
Ryan C. Gordon 2011-10-13 01:08:30 -04:00
parent cf1adee2e4
commit bc13816375
17 changed files with 42 additions and 68 deletions

View file

@ -384,6 +384,8 @@ SDL_GetCPUType(void)
return SDL_CPUType;
}
#ifdef TEST_MAIN /* !!! FIXME: only used for test at the moment. */
static const char *
SDL_GetCPUName(void)
{
@ -455,6 +457,7 @@ SDL_GetCPUName(void)
}
return SDL_CPUName;
}
#endif
int
SDL_GetCPUCacheLineSize(void)