diff options
Diffstat (limited to 'lib/libcurses/putchar.c')
| -rw-r--r-- | lib/libcurses/putchar.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/lib/libcurses/putchar.c b/lib/libcurses/putchar.c index 886d1a94a399..4d90d93f1241 100644 --- a/lib/libcurses/putchar.c +++ b/lib/libcurses/putchar.c @@ -1,6 +1,6 @@ /* - * Copyright (c) 1981 Regents of the University of California. - * All rights reserved. + * Copyright (c) 1981, 1993 + * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -32,17 +32,18 @@ */ #ifndef lint -static char sccsid[] = "@(#)putchar.c 5.4 (Berkeley) 6/1/90"; -#endif /* not lint */ +static char sccsid[] = "@(#)putchar.c 8.1 (Berkeley) 6/4/93"; +#endif /* not lint */ -# include "curses.ext" +#include <curses.h> -char -_putchar(c) -reg char c; { +void +_putchar(ch) + int ch; +{ - putchar(c); #ifdef DEBUG - fprintf(outf, "_PUTCHAR(%s)\n", unctrl(c)); + __CTRACE("_putchar: %s\n", unctrl(ch)); #endif + (void)putchar(ch); } |
