From 3cadd47a71d0d3c78f88bde8042bab8905107152 Mon Sep 17 00:00:00 2001 From: Lyndon Nerenberg Date: Sat, 24 Dec 2011 16:38:47 -0800 Subject: [PATCH] Ignore OSPEED/ospeed in termcap. Nothing current should need this. --- uip/termsbr.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) 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; -- 1.7.10.4