summaryrefslogtreecommitdiff
path: root/src/scheme/tiny-test/ao_scheme_os.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-12-12 17:59:26 -0800
committerKeith Packard <keithp@keithp.com>2017-12-12 18:09:11 -0800
commitca27d467198c556be483961a6ca3b8f97bbe96a6 (patch)
tree239b5ced573d834a1679ed4b2f725c6dfd77bf97 /src/scheme/tiny-test/ao_scheme_os.h
parent4bfce37e7567d9c2a09ea4da8113e7639516ed6e (diff)
altos/scheme: More compiler warning cleanups
Make local funcs static. Don't mix decls and code.x Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/scheme/tiny-test/ao_scheme_os.h')
-rw-r--r--src/scheme/tiny-test/ao_scheme_os.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/scheme/tiny-test/ao_scheme_os.h b/src/scheme/tiny-test/ao_scheme_os.h
index 7cfe3981..b9f3e31f 100644
--- a/src/scheme/tiny-test/ao_scheme_os.h
+++ b/src/scheme/tiny-test/ao_scheme_os.h
@@ -22,18 +22,13 @@
#include <stdlib.h>
#include <time.h>
-#undef AO_SCHEME_FEATURE_FLOAT
-#undef AO_SCHEME_FEATURE_VECTOR
-#undef AO_SCHEME_FEATURE_QUASI
-#undef AO_SCHEME_FEATURE_BIGINT
-
#define AO_SCHEME_POOL_TOTAL 4096
#define AO_SCHEME_SAVE 1
extern int ao_scheme_getc(void);
static inline void
-ao_scheme_os_flush() {
+ao_scheme_os_flush(void) {
fflush(stdout);
}