From 4a127b0ff9bc4241c75b511df2ede7dbe76b7e20 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sun, 13 Apr 1997 11:41:59 +0000 Subject: [PATCH] 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(-) diff --git a/lib/libtermcap/termcap.c b/lib/libtermcap/termcap.c index d8966ec0b1b..96e07e55f13 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 9db594c5aed..38345d642ae 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_ */