I am aware. It doesn't shift that declaration onto line 843 of that
header. It was quite a few lines further down a few years ago
and is even further down nowadays. So either this is a significantly
older Dickey ncurses, older even than what is in Debian 8
or it is something else.
Jonathan de Boyne Pollard:
What does line 843 of your |/usr/include/curses.h| actually say?
Because that's not the location of that function declaration in that
header in either Dickey ncurses or Acton pdcurses as far as I can
see. So what curses are you actually using?
Dickey ncurses' |configure| script has options |--enable-const| and