diff options
Diffstat (limited to 'lib/libcurses/idlok.c')
| -rw-r--r-- | lib/libcurses/idlok.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/libcurses/idlok.c b/lib/libcurses/idlok.c index 92566b20b35c..ef0a1e20d8ba 100644 --- a/lib/libcurses/idlok.c +++ b/lib/libcurses/idlok.c @@ -1,6 +1,6 @@ /* - * Copyright (c) 1981 Regents of the University of California. - * All rights reserved. + * Copyright (c) 1981, 1993 + * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -32,23 +32,23 @@ */ #ifndef lint -static char sccsid[] = "@(#)idlok.c 5.4 (Berkeley) 6/1/90"; -#endif /* not lint */ +static char sccsid[] = "@(#)idlok.c 8.1 (Berkeley) 6/4/93"; +#endif /* not lint */ -# include "curses.ext" +#include <curses.h> /* - * idlok: - * Turn on and off using insert/deleteln sequences for the given - * window. - * + * idlok -- + * Turn on and off using insert/deleteln sequences for the + * given window. */ +void idlok(win, bf) -register WINDOW *win; -bool bf; + WINDOW *win; + int bf; { if (bf) - win->_flags |= _IDLINE; + win->flags |= __IDLINE; else - win->_flags &= ~_IDLINE; + win->flags &= ~__IDLINE; } |
