diff options
Diffstat (limited to 'example.c')
-rw-r--r-- | example.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/example.c b/example.c index 8790d65..859adc1 100644 --- a/example.c +++ b/example.c @@ -39,7 +39,10 @@ enum { WindowHeight = MarginY + 4 * DeltaY, }; -int main(void) { +int main(int argc, char *argv[]) { + (void)argc; + (void)argv; + if (SDL_Init(SDL_INIT_VIDEO) < 0) err("SDL_Init"); struct SDL_RWops *rw = SDL_RWFromFile("CARDS.DLL", "rb"); |