fix #H4041 - implicit declaration of has_colors()
authorPatR <rankin@nethack.org>
Thu, 24 Dec 2015 00:25:06 +0000 (16:25 -0800)
committerPatR <rankin@nethack.org>
Thu, 24 Dec 2015 00:25:06 +0000 (16:25 -0800)
commitad838c7e798454191cf0e52d2f61535faa0005ec
treeb64a6714e33808a6a40b0bbee3c5894ff9332891
parent9114a334c985e5d904f210b4884f25e4e8cfb782
fix #H4041 - implicit declaration of has_colors()

_M_UNIX (SCO UNIX) and __linux__ (all flavors of linux?) both call
has_colors() for TTY_GRAPHICS+TEXTCOLOR configuration, but neither
declared it.  The new declaration is just a guess based on usage.
doc/fixes36.1
sys/share/unixtty.c