X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Ftty%2Fhardscroll.c;h=e2147217bdb32236775289fa5e80de138bd97cbd;hp=5486b6d5a6c30d070a5c796c3b301ef9ea1cde0c;hb=7b2974498fac39a3ffde257c92f572234d529239;hpb=f70db18a0c3c6a828d8a5999be37239f01c9d98a diff --git a/ncurses/tty/hardscroll.c b/ncurses/tty/hardscroll.c index 5486b6d5..e2147217 100644 --- a/ncurses/tty/hardscroll.c +++ b/ncurses/tty/hardscroll.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2000,2006 Free Software Foundation, Inc. * + * Copyright (c) 1998-2006,2007 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -145,7 +145,7 @@ AUTHOR #include -MODULE_ID("$Id: hardscroll.c,v 1.38 2006/12/30 22:19:34 tom Exp $") +MODULE_ID("$Id: hardscroll.c,v 1.39 2007/04/28 20:14:08 tom Exp $") #if defined(SCROLLDEBUG) || defined(HASHDEBUG) @@ -158,6 +158,8 @@ oldnums[MAXLINES]; # undef TR # define TR(n, a) if (_nc_tracing & (n)) { _tracef a ; putchar('\n'); } +extern NCURSES_EXPORT_VAR(unsigned) _nc_tracing; + #else /* no debug */ /* OLDNUM(n) indicates which line will be shifted to the position n.