git: libncurses: Avoid warning when calling cgetent().

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Sun Sep 25 22:56:33 PDT 2016


commit e02a905d0800ea51e6685792106ea01bcc1c39ca
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sun Sep 25 14:08:29 2016 +0300

    libncurses: Avoid warning when calling cgetent().
    
    Since both read_termcap.c static version of cgetent() and cgetent(3) has second
    argument as char** just use __DECONST() trick so to not have big changes.
    It should be safe to do that, base libncurses is a private library now.

Summary of changes:
 contrib/ncurses/ncurses/tinfo/read_termcap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e02a905d0800ea51e6685792106ea01bcc1c39ca


-- 
DragonFly BSD source repository



More information about the Commits mailing list