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 ...).
This commit is contained in:
parent
fdca1af56c
commit
4a127b0ff9
@ -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
|
||||
*
|
||||
|
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user