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:
parent
11fed5e2e0
commit
7dd144d715
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78121
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user