about summary refs log tree commit diff
path: root/example.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-01-19 20:49:26 -0500
committerJune McEnroe <june@causal.agency>2022-01-19 20:49:26 -0500
commit344497630ac9ef2d46287cd574472ce369694076 (patch)
tree25d628a85126ec57e591627f4ffd4705a9bdebd8 /example.c
parentRemove README (diff)
downloadcards-344497630ac9ef2d46287cd574472ce369694076.tar.gz
cards-344497630ac9ef2d46287cd574472ce369694076.zip
Replace build system with cmake
Diffstat (limited to 'example.c')
-rw-r--r--example.c5
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");