Address GitLab issue #34: static char* get_input() is not a prototype
authorEric S. Raymond <esr@thyrsus.com>
Fri, 21 Jul 2017 02:04:01 +0000 (22:04 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 21 Jul 2017 02:04:01 +0000 (22:04 -0400)
misc.c

diff --git a/misc.c b/misc.c
index 8f273e9b986e8d404ffef21984787926e6f1fe2e..fb884b3dc26331f234e316f73531b0b81b4b1a22 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -200,7 +200,7 @@ static int word_count(char* str)
     return (count);
 }
 
-static char* get_input()
+static char* get_input(void)
 {
     // Set up the prompt
     char input_prompt[] = "> ";