summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libtermcap/termcap.h4
-rw-r--r--sys/sys/termios.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libtermcap/termcap.h b/lib/libtermcap/termcap.h
index 38345d6..f97839e 100644
--- a/lib/libtermcap/termcap.h
+++ b/lib/libtermcap/termcap.h
@@ -24,7 +24,7 @@
* SUCH DAMAGE.
*/
-/* $Id: termcap.h,v 1.10 1997/02/22 15:08:12 peter Exp $ */
+/* $Id: termcap.h,v 1.11 1997/04/13 11:41:59 bde Exp $ */
#ifndef _TERMCAP_H_
#define _TERMCAP_H_
@@ -46,7 +46,7 @@ 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));
+extern void __set_ospeed __P((unsigned long speed));
__END_DECLS
diff --git a/sys/sys/termios.h b/sys/sys/termios.h
index 8f97e46..1b2a48d 100644
--- a/sys/sys/termios.h
+++ b/sys/sys/termios.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)termios.h 8.3 (Berkeley) 3/28/94
- * $Id$
+ * $Id: termios.h,v 1.9 1997/02/22 09:46:07 peter Exp $
*/
#ifndef _SYS_TERMIOS_H_
@@ -177,7 +177,7 @@
typedef unsigned long tcflag_t;
typedef unsigned char cc_t;
-typedef long speed_t; /* XXX should be unsigned long */
+typedef unsigned long speed_t;
struct termios {
tcflag_t c_iflag; /* input flags */
OpenPOWER on IntegriCloud