Fixed bug 4277 - warnings patch
Sylvain Patch a few warnings when using: -Wmissing-prototypes -Wdocumentation -Wdocumentation-unknown-command They are automatically enabled with -Wall
This commit is contained in:
parent
0bec5913e1
commit
31dde82573
12 changed files with 104 additions and 12 deletions
|
@ -37,7 +37,7 @@ SDL_COMPILE_TIME_ASSERT(surface_size_assumptions,
|
|||
/*
|
||||
* Calculate the pad-aligned scanline width of a surface
|
||||
*/
|
||||
int
|
||||
static int
|
||||
SDL_CalculatePitch(Uint32 format, int width)
|
||||
{
|
||||
int pitch;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue