diff options
author | ache <ache@FreeBSD.org> | 1995-08-05 21:22:07 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-08-05 21:22:07 +0000 |
commit | 100e6f311c5d20fdb09afe48750d3d733c8b8e45 (patch) | |
tree | 84255860ff0aa7fd3bacde0ab4494a6ab882406e /lib/libtermcap/tparm.c | |
parent | c426abc4240ef56049117a4cc11d9db6a62c0db1 (diff) | |
download | FreeBSD-src-100e6f311c5d20fdb09afe48750d3d733c8b8e45.zip FreeBSD-src-100e6f311c5d20fdb09afe48750d3d733c8b8e45.tar.gz |
Do a little trick which covers 99% cases: initialize ospeed
variable directly in tgetent by stderr or stdout output speed.
It helps hide in non-standard __set_ospeed function and remove it
from other sources (coming soon).
Do prototype cleanup too.
Diffstat (limited to 'lib/libtermcap/tparm.c')
-rw-r--r-- | lib/libtermcap/tparm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libtermcap/tparm.c b/lib/libtermcap/tparm.c index 36070d9..6a537ce 100644 --- a/lib/libtermcap/tparm.c +++ b/lib/libtermcap/tparm.c @@ -11,6 +11,7 @@ #include <stdarg.h> #include <stdio.h> #include <string.h> +#include "termcap.h" #ifdef USE_SCCS_IDS static const char SCCSid[] = "@(#) mytinfo tparm.c 3.2 92/02/01 public domain, By Ross Ridge"; |