diff options
author | bde <bde@FreeBSD.org> | 1997-04-13 11:41:59 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-04-13 11:41:59 +0000 |
commit | 4fe66e591478b302035524f1562af66d976a9c3d (patch) | |
tree | 61456282434767b3e009dcf451763a51684c6a2b | |
parent | 4e19bb4d34def7af5ab52979c43fa6d569be18d2 (diff) | |
download | FreeBSD-src-4fe66e591478b302035524f1562af66d976a9c3d.zip FreeBSD-src-4fe66e591478b302035524f1562af66d976a9c3d.tar.gz |
Declare the documented (modulo a spelling error) interface
`void __set_ospeed(long);' in the appropriate header.
The implementation still uses speed_t instead of long. This
will break properly when speed_t is fixed (speed_t shall be
unsigned ...).
-rw-r--r-- | lib/libtermcap/termcap.c | 2 | ||||
-rw-r--r-- | lib/libtermcap/termcap.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libtermcap/termcap.c b/lib/libtermcap/termcap.c index d8966ec..96e07e5 100644 --- a/lib/libtermcap/termcap.c +++ b/lib/libtermcap/termcap.c @@ -48,8 +48,6 @@ static char sccsid[] = "@(#)termcap.c 8.1 (Berkeley) 6/4/93"; #include "termcap.h" #include "pathnames.h" -extern void __set_ospeed(speed_t speed); - /* * termcap - routines for dealing with the terminal capability data base * diff --git a/lib/libtermcap/termcap.h b/lib/libtermcap/termcap.h index 9db594c..38345d6 100644 --- a/lib/libtermcap/termcap.h +++ b/lib/libtermcap/termcap.h @@ -24,7 +24,7 @@ * SUCH DAMAGE. */ -/* $Id$ */ +/* $Id: termcap.h,v 1.10 1997/02/22 15:08:12 peter Exp $ */ #ifndef _TERMCAP_H_ #define _TERMCAP_H_ @@ -46,6 +46,8 @@ extern int tputs __P((const char *, int, int (*)(int))); extern char *tgoto __P((const char *, int, int)); extern char *tparm __P((const char *, ...)); +extern void __set_ospeed __P((long speed)); + __END_DECLS #endif /* _TERMCAP_H_ */ |