diff options
author | 2001-01-22 18:01:32 +0000 | |
---|---|---|
committer | 2001-01-22 18:01:32 +0000 | |
commit | 84af20cee44481ef9eb2070c76702603863c1a4c (patch) | |
tree | b232b1727be5b5b1854432f2b87c149f7522cb9d /lib/libcurses/trace/lib_tracechr.c | |
parent | fix memory leaks in SSH2 key exchange; ok markus@ (diff) | |
download | wireguard-openbsd-84af20cee44481ef9eb2070c76702603863c1a4c.tar.xz wireguard-openbsd-84af20cee44481ef9eb2070c76702603863c1a4c.zip |
Update to ncurses-5.2-20010114
Diffstat (limited to 'lib/libcurses/trace/lib_tracechr.c')
-rw-r--r-- | lib/libcurses/trace/lib_tracechr.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/lib/libcurses/trace/lib_tracechr.c b/lib/libcurses/trace/lib_tracechr.c index 932ee8d811d..340ca67913b 100644 --- a/lib/libcurses/trace/lib_tracechr.c +++ b/lib/libcurses/trace/lib_tracechr.c @@ -36,16 +36,22 @@ */ #include <curses.priv.h> -MODULE_ID("$From: lib_tracechr.c,v 1.2 2000/04/01 20:17:26 tom Exp $") +MODULE_ID("$From: lib_tracechr.c,v 1.4 2000/12/10 03:02:45 tom Exp $") #ifdef TRACE -char *_tracechar(const unsigned char ch) +NCURSES_EXPORT(char *) +_tracechar(const unsigned char ch) { static char crep[20]; - (void) sprintf(crep, "'%s' = 0x%02x", unctrl(ch), (unsigned)ch); - return(crep); + (void) sprintf(crep, "'%s' = 0x%02x", unctrl(ch), (unsigned) ch); + return (crep); } #else -extern void _nc_lib_tracechr(void); - void _nc_lib_tracechr(void) { } +extern +NCURSES_EXPORT(void) +_nc_lib_tracechr(void); +NCURSES_EXPORT(void) +_nc_lib_tracechr(void) +{ +} #endif |