From c53d0625213e1cde272b77fec4fd4c46489acd68 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 12 Aug 2019 17:16:04 -0400 Subject: Remove main in term.c Oops, added this for fuzzing. --- term.c | 12 ------------ 1 file changed, 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 -- cgit 1.4.1