curses: fix prototypes up a bit
authorAlan Cox <alan@linux.intel.com>
Fri, 21 Aug 2015 20:22:16 +0000 (21:22 +0100)
committerAlan Cox <alan@linux.intel.com>
Fri, 21 Aug 2015 20:22:16 +0000 (21:22 +0100)
We really need to add "chtype" and move to the proper modern definitions

Library/include/curses.h

index dbcb16e..b2f8355 100644 (file)
@@ -177,7 +177,7 @@ _PROTOTYPE( void nodelay, (WINDOW *_win, bool _flag) );
 _PROTOTYPE( void noecho, (void));
 _PROTOTYPE( void nonl, (void));
 _PROTOTYPE( void noraw, (void));
-_PROTOTYPE( void outc, (int _c) );
+_PROTOTYPE( int outc, (int _c) );
 _PROTOTYPE( void overlay, (WINDOW *_win1, WINDOW *_win2) );
 _PROTOTYPE( void overwrite, (WINDOW *_win1, WINDOW *_win2) );
 _PROTOTYPE( void poscur, (int _r, int _c) );