From: Lyndon Nerenberg Date: Sun, 25 Dec 2011 00:38:47 +0000 (-0800) Subject: Ignore OSPEED/ospeed in termcap. Nothing current should need this. X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=3cadd47a71d0d3c78f88bde8042bab8905107152;p=mmh Ignore OSPEED/ospeed in termcap. Nothing current should need this. --- diff --git a/uip/termsbr.c b/uip/termsbr.c index 92f7a0e..93e6dd6 100644 --- a/uip/termsbr.c +++ b/uip/termsbr.c @@ -34,19 +34,27 @@ # define TXTSIZ BUFSIZ #endif +#ifdef notdef_lyndon_posix + +/* + XXX No current termcap should need this. If your compile barfs, + email details to lyndon@orthanc.ca. This code will vanish soon ... +*/ /* * These variables are sometimes defined in, * and needed by the termcap library. */ -#ifdef HAVE_OSPEED -# ifdef MUST_DEFINE_OSPEED +# ifdef HAVE_OSPEED +# ifdef MUST_DEFINE_OSPEED extern short ospeed; extern char PC; -# endif -#else +# endif +# else short ospeed; char PC; -#endif +# endif + +#endif notdef_lyndon_posix static long speedcode;