diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1995-08-04 09:26:10 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1995-08-04 09:26:10 +0000 |
| commit | e390f0a585d99019f9f433aadc07882710375b5e (patch) | |
| tree | 759147a60150fb5fd5e5443833b057571011b78f /lib/libedit | |
| parent | 95729168e431ab6a532157f4adc4e05a44e00237 (diff) | |
Notes
Diffstat (limited to 'lib/libedit')
| -rw-r--r-- | lib/libedit/term.c | 6 | ||||
| -rw-r--r-- | lib/libedit/term.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libedit/term.c b/lib/libedit/term.c index 8d641f0e075e..d01c4dc3eabb 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 */ diff --git a/lib/libedit/term.h b/lib/libedit/term.h index 26da7c30d43c..f9de2216bfc1 100644 --- a/lib/libedit/term.h +++ b/lib/libedit/term.h @@ -100,7 +100,7 @@ protected int term_settc __P((EditLine *, int, char **)); protected int term_telltc __P((EditLine *, int, char **)); protected int term_echotc __P((EditLine *, int, char **)); -protected void term__putc __P((int)); +protected int term__putc __P((int)); protected void term__flush __P((void)); /* |
