summary refs log tree commit diff
path: root/sol.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-01-19 20:31:26 -0500
committerJune McEnroe <june@causal.agency>2022-01-19 20:31:26 -0500
commitcb8d1b637275434b64bdcd448afd2e9a2e269f80 (patch)
tree4db93b9aae7bc36c0cc6340f533cf2bb948b35e4 /sol.c
parentAllow choosing freecell game on command line (diff)
downloadwep-cb8d1b637275434b64bdcd448afd2e9a2e269f80.tar.gz
wep-cb8d1b637275434b64bdcd448afd2e9a2e269f80.zip
Replace build system with cmake
Thanks to cr1901 for helping to test this on Windows.
Diffstat (limited to '')
-rw-r--r--sol.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sol.c b/sol.c
index 5622395..48a61a2 100644
--- a/sol.c
+++ b/sol.c
@@ -320,7 +320,10 @@ static void err(const char *title) {
 	exit(EXIT_FAILURE);
 }
 
-int main(void) {
+int main(int argc, char *argv[]) {
+	(void)argc;
+	(void)argv;
+
 	if (SDL_Init(SDL_INIT_VIDEO) < 0) err("SDL_Init");
 	atexit(SDL_Quit);