We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 224d814 commit b3209fbCopy full SHA for b3209fb
1 file changed
src/main.c
@@ -11,7 +11,7 @@
11
#include "version.h"
12
#include "vm.h"
13
14
-static void repl();
+static void repl(void);
15
static char *readFile(const char *path);
16
static void runFile(const char *path);
17
static void runCode(const char *source);
@@ -75,7 +75,7 @@ int main(int argc, char *argv[]) {
75
return 64;
76
}
77
78
-static void repl() {
+static void repl(void) {
79
fprintf(stderr, "========================================\n");
80
fprintf(stderr, "REPL %30s clox\n\n", CLOX_VERSION);
81
fprintf(stderr, "Enter code or type 'exit' to quit.\n\n");
@@ -147,4 +147,4 @@ static void runCode(const char *source) {
147
148
if (result == INTERPRET_RUNTIME_ERROR)
149
exit(70);
150
-}
+}
0 commit comments