diff options
author | June McEnroe <june@causal.agency> | 2019-08-12 17:16:04 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-08-12 17:16:14 -0400 |
commit | c53d0625213e1cde272b77fec4fd4c46489acd68 (patch) | |
tree | 20f926a5d307d3c1bfeccc1378c09308644824b8 | |
parent | Use a big macro switch-case (diff) | |
download | stream-c53d0625213e1cde272b77fec4fd4c46489acd68.tar.gz stream-c53d0625213e1cde272b77fec4fd4c46489acd68.zip |
Remove main in term.c
Oops, added this for fuzzing.
-rw-r--r-- | term.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/term.c b/term.c index 5ee88ac..c77d4f1 100644 --- a/term.c +++ b/term.c @@ -554,15 +554,3 @@ fail: fclose(file); return -1; } - -#ifdef TERM_MAIN - -int main(void) { - struct Term *term = termAlloc(24, 80); - wint_t ch; - while (WEOF != (ch = getwchar())) { - termUpdate(term, ch); - } -} - -#endif |