diff options
| author | svn2git <svn2git@FreeBSD.org> | 1994-05-01 08:00:00 +0000 |
|---|---|---|
| committer | svn2git <svn2git@FreeBSD.org> | 1994-05-01 08:00:00 +0000 |
| commit | a16f65c7d117419bd266c28a1901ef129a337569 (patch) | |
| tree | 2626602f66dc3551e7a7c7bc9ad763c3bc7ab40a /lib/libcurses/putchar.c | |
| parent | 8503f4f13f77abf7adc8f7e329c6f9c1d52b6a20 (diff) | |
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); } |
