Browse Source

remove unused

pre-master-46
Jim Monte 6 years ago
committed by Holger Vogt
parent
commit
01574b91b5
  1. 8
      src/frontend/terminal.c

8
src/frontend/terminal.c

@ -21,14 +21,12 @@ Author: 1986 Wayne A. Christopher, U. C. Berkeley CAD Group
#include <sys/ioctl.h> #include <sys/ioctl.h>
#endif #endif
#if 0
/* Bad interaction with bool type in bool.h because curses also
defines this symbol. */
#ifdef HAVE_TERMCAP #ifdef HAVE_TERMCAP
#include <curses.h> #include <curses.h>
#include <term.h> #include <term.h>
#endif #endif
#endif
#ifdef HAVE_TERMCAP_H #ifdef HAVE_TERMCAP_H
#include <termcap.h> #include <termcap.h>
@ -129,7 +127,7 @@ outbufputc(void)
{ {
if (ourbuf.count != BUFSIZ) { if (ourbuf.count != BUFSIZ) {
fputs(staticbuf, cp_out); fputs(staticbuf, cp_out);
memset(staticbuf, 0, (size_t) BUFSIZ - ourbuf.count);
memset(staticbuf, 0, (size_t) (BUFSIZ - ourbuf.count));
ourbuf.count = BUFSIZ; ourbuf.count = BUFSIZ;
ourbuf.ptr = staticbuf; ourbuf.ptr = staticbuf;
} }

Loading…
Cancel
Save