diff options
author | bde <bde@FreeBSD.org> | 1998-03-12 14:09:55 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-03-12 14:09:55 +0000 |
commit | c4e3921907089a60c01c38a4d75ccffd317698f8 (patch) | |
tree | d795781f701513774dc67c2718d8b1a846a55309 /lib | |
parent | 71caeb69dd6c6f6ce93d0e0e366b64a63ec3bafd (diff) | |
download | FreeBSD-src-c4e3921907089a60c01c38a4d75ccffd317698f8.zip FreeBSD-src-c4e3921907089a60c01c38a4d75ccffd317698f8.tar.gz |
Changed speed_t from long to unsigned long. POSIX.1 requires an
unsigned integral type. Changing it doesn't seem to cause any
sign extension bugs in /usr/src. In the kernel, this is partly
because `struct speedtab' and its lookup function are too bogus
to use speed_t's for speeds - they use ints.
Reminded by: PR 5786
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libtermcap/termcap.h | 4 |
1 files changed, 2 insertions, 2 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 |