We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
in
out
1 parent 7e8395b commit 9b1b444Copy full SHA for 9b1b444
langs/evildoer/main.c
@@ -3,6 +3,9 @@
3
#include "types.h"
4
#include "runtime.h"
5
6
+FILE* in;
7
+FILE* out;
8
+
9
void print_result(int64_t);
10
void print_char(int64_t);
11
langs/evildoer/runtime.h
@@ -1,3 +1,6 @@
1
+#ifndef RUNTIME_H
2
+#define RUNTIME_H
int64_t entry();
-FILE* in;
-FILE* out;
+extern FILE* in;
+extern FILE* out;
+#endif /* RUNTIME_H */
0 commit comments