Turn on the extra 'const' settings for various curses functions. While

this is not strictly compliant with XSI curses, it enables us to pass
const strings to many more functions that are actually const safe than
before.  This should be harmless.

Requested by:  lots of folks
This commit is contained in:
Peter Wemm 2001-06-12 01:14:02 +00:00
parent 11fed5e2e0
commit 7dd144d715
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78121
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ NCURSES_MINOR!=egrep 'NCURSES_MINOR[ ]*=' ${NCURSES}/dist.mk | sed -e 's%^[^0-9
NCURSES_PATCH!=egrep 'NCURSES_PATCH[ ]*=' ${NCURSES}/dist.mk | sed -e 's%^[^0-9]*%%'
# From autoconf (!)
NCURSES_CONST= /* nothing */
NCURSES_CONST= const
NCURSES_XNAMES= 1
NCURSES_OSPEED= short
BUILTIN_BOOL= 1

View File

@ -15,7 +15,7 @@ NCURSES_MINOR!=egrep 'NCURSES_MINOR[ ]*=' ${NCURSES}/dist.mk | sed -e 's%^[^0-9
NCURSES_PATCH!=egrep 'NCURSES_PATCH[ ]*=' ${NCURSES}/dist.mk | sed -e 's%^[^0-9]*%%'
# From autoconf (!)
NCURSES_CONST= /* nothing */
NCURSES_CONST= const
NCURSES_XNAMES= 1
NCURSES_OSPEED= short
BUILTIN_BOOL= 1