extern struct cm Wcm; /* Terminal capabilities */
extern char PC; /* Pad character */
+#if defined (HAVE_LIBNCURSES) && ! defined (NCURSES_OSPEED_T)
+extern short ospeed;
+#else
#if defined (HAVE_TERMIOS_H) && defined (LINUX)
#include <termios.h>
/* HJL's version of libc is said to need this on the Alpha.
#else
extern short ospeed; /* Output speed (from sg_ospeed) */
#endif
+#endif
/* Shorthand */
#ifndef NoCMShortHand
extern void cmcheckmagic ();
extern int cmputc ();
-extern int cmcostinit ();
-extern int cmgoto ();
-extern int Wcm_clear ();
+extern void cmcostinit ();
+extern void cmgoto ();
+extern void Wcm_clear ();
extern int Wcm_init ();