summaryrefslogtreecommitdiff
path: root/lib/libcurses/base/lib_box.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcurses/base/lib_box.c')
-rw-r--r--lib/libcurses/base/lib_box.c33
1 files changed, 17 insertions, 16 deletions
diff --git a/lib/libcurses/base/lib_box.c b/lib/libcurses/base/lib_box.c
index 0593b769e4e..f97ee247c99 100644
--- a/lib/libcurses/base/lib_box.c
+++ b/lib/libcurses/base/lib_box.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lib_box.c,v 1.2 2000/06/19 03:53:39 millert Exp $ */
+/* $OpenBSD: lib_box.c,v 1.3 2001/01/22 18:01:37 millert Exp $ */
/****************************************************************************
* Copyright (c) 1998,2000 Free Software Foundation, Inc. *
@@ -42,26 +42,27 @@
#include <curses.priv.h>
-MODULE_ID("$From: lib_box.c,v 1.11 2000/04/29 21:12:37 tom Exp $")
+MODULE_ID("$From: lib_box.c,v 1.13 2000/12/10 02:43:26 tom Exp $")
-int
-wborder(WINDOW *win,
- chtype ls, chtype rs, chtype ts, chtype bs,
- chtype tl, chtype tr, chtype bl, chtype br)
+NCURSES_EXPORT(int)
+wborder
+(WINDOW *win,
+ chtype ls, chtype rs, chtype ts, chtype bs,
+ chtype tl, chtype tr, chtype bl, chtype br)
{
NCURSES_SIZE_T i;
NCURSES_SIZE_T endx, endy;
T((T_CALLED("wborder(%p,%s,%s,%s,%s,%s,%s,%s,%s)"),
- win,
- _tracechtype2(1, ls),
- _tracechtype2(2, rs),
- _tracechtype2(3, ts),
- _tracechtype2(4, bs),
- _tracechtype2(5, tl),
- _tracechtype2(6, tr),
- _tracechtype2(7, bl),
- _tracechtype2(8, br)));
+ win,
+ _tracechtype2(1, ls),
+ _tracechtype2(2, rs),
+ _tracechtype2(3, ts),
+ _tracechtype2(4, bs),
+ _tracechtype2(5, tl),
+ _tracechtype2(6, tr),
+ _tracechtype2(7, bl),
+ _tracechtype2(8, br)));
if (!win)
returnCode(ERR);
@@ -93,7 +94,7 @@ wborder(WINDOW *win,
br = _nc_render(win, br);
T(("using %#lx, %#lx, %#lx, %#lx, %#lx, %#lx, %#lx, %#lx",
- ls, rs, ts, bs, tl, tr, bl, br));
+ ls, rs, ts, bs, tl, tr, bl, br));
endx = win->_maxx;
endy = win->_maxy;