diff options
| author | svn2git <svn2git@FreeBSD.org> | 1994-05-01 08:00:00 +0000 |
|---|---|---|
| committer | svn2git <svn2git@FreeBSD.org> | 1994-05-01 08:00:00 +0000 |
| commit | a16f65c7d117419bd266c28a1901ef129a337569 (patch) | |
| tree | 2626602f66dc3551e7a7c7bc9ad763c3bc7ab40a /lib/libcurses/idlok.c | |
| parent | 8503f4f13f77abf7adc8f7e329c6f9c1d52b6a20 (diff) | |
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; } |
