avoid redefinition warnings
Merge pull request #386 from koeppea/fix-warnings-curses

Fix warinings for the curses UI