summaryrefslogtreecommitdiffstats
path: root/lib/libcurses/standout.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcurses/standout.c')
-rw-r--r--lib/libcurses/standout.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libcurses/standout.c b/lib/libcurses/standout.c
index 754b423..903400a 100644
--- a/lib/libcurses/standout.c
+++ b/lib/libcurses/standout.c
@@ -41,28 +41,28 @@ static char sccsid[] = "@(#)standout.c 8.2 (Berkeley) 5/4/94";
* wstandout
* Enter standout mode.
*/
-char *
+int
wstandout(win)
register WINDOW *win;
{
if (!SO && !UC)
- return (0);
+ return (ERR);
win->flags |= __WSTANDOUT;
- return (SO ? SO : UC);
+ return (OK);
}
/*
* wstandend --
* Exit standout mode.
*/
-char *
+int
wstandend(win)
register WINDOW *win;
{
if (!SO && !UC)
- return (0);
+ return (ERR);
win->flags &= ~__WSTANDOUT;
- return (SE ? SE : UC);
+ return (OK);
}
OpenPOWER on IntegriCloud