mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-03 03:52:36 +00:00
fix RandFunc typedef
This commit is contained in:
@@ -44,7 +44,7 @@ typedef struct
|
||||
unsigned occupied_cells;
|
||||
} SnakeContext;
|
||||
|
||||
typedef Sint32 SDLCALL (*RandFunc)(Sint32 n);
|
||||
typedef Sint32 (SDLCALL *RandFunc)(Sint32 n);
|
||||
|
||||
void snake_initialize(SnakeContext *ctx, RandFunc rand);
|
||||
void snake_redir(SnakeContext *ctx, SnakeDirection dir);
|
||||
|
||||
Reference in New Issue
Block a user