From 4fe66e591478b302035524f1562af66d976a9c3d Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 13 Apr 1997 11:41:59 +0000 Subject: 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 ...). --- lib/libtermcap/termcap.c | 2 -- lib/libtermcap/termcap.h | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libtermcap') 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_ */ -- cgit v1.1