summaryrefslogtreecommitdiffstats
path: root/lib/libcurses/lib_clear.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-11-26 04:01:02 +0000
committermillert <millert@openbsd.org>1997-11-26 04:01:02 +0000
commit010b00ebb3f4bdd576ec41ca1d5d0a8994e8fe5b (patch)
tree5ee5e7213ad9b412a927de7effdcb7c8ce4b489e /lib/libcurses/lib_clear.c
parentlibform from ncurses 4.1. Post 4.1 patches to be applied in a separate commit. (diff)
downloadwireguard-openbsd-010b00ebb3f4bdd576ec41ca1d5d0a8994e8fe5b.tar.xz
wireguard-openbsd-010b00ebb3f4bdd576ec41ca1d5d0a8994e8fe5b.zip
ncurses 4.1 + changes to work with our terminfo libs (instead of
the ncurses ones). Changes are #ifdef EXTERN_TERMINFO. Post 4.1 patches will be applied in a separate commit.
Diffstat (limited to 'lib/libcurses/lib_clear.c')
-rw-r--r--lib/libcurses/lib_clear.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libcurses/lib_clear.c b/lib/libcurses/lib_clear.c
index 6f329139818..3318a9f68d7 100644
--- a/lib/libcurses/lib_clear.c
+++ b/lib/libcurses/lib_clear.c
@@ -26,15 +26,17 @@
**
*/
-#include "curses.priv.h"
+#include <curses.priv.h>
+
+MODULE_ID("Id: lib_clear.c,v 1.3 1997/02/01 23:18:18 tom Exp $")
int wclear(WINDOW *win)
{
- T(("wclear(%p) called", win));
+ T((T_CALLED("wclear(%p)"), win));
werase(win);
win->_clear = TRUE;
- return OK;
+ returnCode(OK);
}