Bring in the fix for the trace/_nc_trace issue, without breaking the

vendor branching.  The author has fixed this also so we can do this
safely.
This commit is contained in:
Peter Wemm 2000-05-24 10:44:45 +00:00
parent 1759abf3ae
commit 6b9085fd58
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/vendor/ncurses/dist/; revision=60867
2 changed files with 2 additions and 1 deletions

View File

@ -1313,6 +1313,7 @@ extern char *_tracechar(const unsigned char);
extern char *_tracechtype(chtype);
extern char *_tracechtype2(int, chtype);
extern char *_tracemouse(const MEVENT *);
#define trace _nc_trace
extern void trace(const unsigned int);
/* trace masks */

View File

@ -54,7 +54,7 @@ long _nc_outchars;
static FILE * tracefp; /* default to writing to stderr */
#endif
void trace(const unsigned int tracelevel GCC_UNUSED)
void _nc_trace(const unsigned int tracelevel GCC_UNUSED)
{
#ifdef TRACE
static bool been_here = FALSE;