summaryrefslogtreecommitdiffstats
path: root/lib/libedit/term.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-08-04 09:26:10 +0000
committerache <ache@FreeBSD.org>1995-08-04 09:26:10 +0000
commitbe182d242102d22936cd3d6e3f6be5772e32ac15 (patch)
tree759147a60150fb5fd5e5443833b057571011b78f /lib/libedit/term.c
parent2e718b4cda54fcd730fbd6065ecc66b8494eeab2 (diff)
downloadFreeBSD-src-be182d242102d22936cd3d6e3f6be5772e32ac15.zip
FreeBSD-src-be182d242102d22936cd3d6e3f6be5772e32ac15.tar.gz
Nuke local termcap.h and use system one
Diffstat (limited to 'lib/libedit/term.c')
-rw-r--r--lib/libedit/term.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libedit/term.c b/lib/libedit/term.c
index 8d641f0..d01c4dc 100644
--- a/lib/libedit/term.c
+++ b/lib/libedit/term.c
@@ -49,7 +49,7 @@ static char sccsid[] = "@(#)term.c 8.1 (Berkeley) 6/4/93";
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
-#include "termcap.h" /* XXX: should be <termcap.h> */
+#include <termcap.h>
#include <sys/types.h>
#include "el.h"
@@ -1131,11 +1131,11 @@ term_bind_arrow(el)
/* term__putc():
* Add a character
*/
-protected void
+protected int
term__putc(c)
int c;
{
- (void) fputc(c, term_outfile);
+ return fputc(c, term_outfile);
} /* end term__putc */
OpenPOWER on IntegriCloud