Fix -Werror=strict-prototypes

This will be required for upcoming gcc and clang versions.

Reference: https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
This commit is contained in:
orbea 2022-10-10 11:29:56 -07:00
parent 3672cad8d0
commit fa43b5862d
4 changed files with 9 additions and 9 deletions

View file

@ -26,8 +26,7 @@ static int HighCache2A[41*(TILE_ROWS+1)+1+1]; // caches for high layers
static int HighCache2B[41*(TILE_ROWS+1)+1+1];
unsigned short *PicoCramHigh=PicoMem.cram; // pointer to CRAM buff (0x40 shorts), converted to native device color (works only with 16bit for now)
void (*PicoPrepareCram)()=0; // prepares PicoCramHigh for renderer to use
void (*PicoPrepareCram)(void)=0; // prepares PicoCramHigh for renderer to use
// stuff available in asm:
#ifdef _ASM_DRAW_C

View file

@ -213,7 +213,7 @@ void PicoDrawSetInternalBuf(void *dest, int line_increment);
// draw2.c
// stuff below is optional
extern unsigned short *PicoCramHigh; // pointer to CRAM buff (0x40 shorts), converted to native device color (works only with 16bit for now)
extern void (*PicoPrepareCram)(); // prepares PicoCramHigh for renderer to use
extern void (*PicoPrepareCram)(void); // prepares PicoCramHigh for renderer to use
// pico.c (32x)
#ifndef NO_32X

View file

@ -657,7 +657,7 @@ extern int DrawLineDestIncrement;
// draw2.c
void PicoDraw2Init(void);
PICO_INTERNAL void PicoFrameFull();
PICO_INTERNAL void PicoFrameFull(void);
// mode4.c
void PicoFrameStartMode4(void);