diff options
| -rw-r--r-- | stdlib/stdlib.c | 2 | ||||
| -rw-r--r-- | stdlib/stdlib.h | 2 | ||||
| -rw-r--r-- | stdlib/util.c | 2 | ||||
| -rw-r--r-- | stdlib/util.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/stdlib.c b/stdlib/stdlib.c index b8e40a54..db60ca98 100644 --- a/stdlib/stdlib.c +++ b/stdlib/stdlib.c @@ -19,6 +19,8 @@ #include "text.h" #include "util.h" +public bool USE_COLOR; + public void tomo_init(void) { GC_INIT(); diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h index da3ddbf7..2037fae4 100644 --- a/stdlib/stdlib.h +++ b/stdlib/stdlib.h @@ -10,6 +10,8 @@ #include "types.h" #include "util.h" +extern bool USE_COLOR; + void tomo_init(void); __attribute__((format(printf, 1, 2))) _Noreturn void fail(const char *fmt, ...); diff --git a/stdlib/util.c b/stdlib/util.c index 7749b22c..1fe33dfa 100644 --- a/stdlib/util.c +++ b/stdlib/util.c @@ -9,8 +9,6 @@ #include "text.h" #include "util.h" -public bool USE_COLOR; - __attribute__((format(printf, 1, 2))) public char *heap_strf(const char *fmt, ...) { diff --git a/stdlib/util.h b/stdlib/util.h index a24264cd..82f83ab1 100644 --- a/stdlib/util.h +++ b/stdlib/util.h @@ -34,8 +34,6 @@ #define CONSTFUNC __attribute__ ((const)) #endif -extern bool USE_COLOR; - #define REVERSE_LIST(list) do { \ __typeof(list) _prev = NULL; \ __typeof(list) _next = NULL; \ |
