fix RandFunc typedef

This commit is contained in:
Ozkan Sezer committed 2024-07-30 21:15:04 +03:00
1 parent 6aca728056
commit b24bfc2c98
1 file changed
+1 -1
+1 -1
View File
@@ -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);