Add ANSI prototype,
authorEric S. Raymond <esr@thyrsus.com>
Sat, 11 Mar 2023 15:40:01 +0000 (10:40 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Sat, 11 Mar 2023 15:40:01 +0000 (10:40 -0500)
main.c

diff --git a/main.c b/main.c
index 371b3b67d7a1af9ae14e018f1d372f00927e7d2f..7a6c6c868542fc55cbf0960bd02ce52f1bc1a161 100644 (file)
--- a/main.c
+++ b/main.c
@@ -1074,7 +1074,7 @@ static bool do_move(void)
     return true;
 }
 
-static bool do_command()
+static bool do_command(void)
 /* Get and execute a command */
 {
     static command_t command;