makedefs: the strict alignment gods demand time_t fixed format strings that could anger the same gods ospeed: homegrown termcap.h, sync ospeed symbol size include string.h for those new machines with 64 bit pointers Play-tested on sparc sparc64
16 lines
609 B
Plaintext
16 lines
609 B
Plaintext
$OpenBSD: patch-sys_share_unixtty_c,v 1.1 2015/03/27 11:11:01 tobiasu Exp $
|
|
--- sys/share/unixtty.c.orig Sat Mar 21 10:16:45 2015
|
|
+++ sys/share/unixtty.c Sat Mar 21 10:18:17 2015
|
|
@@ -120,9 +120,9 @@ struct tchars inittyb2, curttyb2;
|
|
# ifndef LINT
|
|
extern /* it is defined in libtermlib (libtermcap) */
|
|
# endif
|
|
- short ospeed; /* terminal baudrate; set by gettty */
|
|
+ int ospeed; /* terminal baudrate; set by gettty */
|
|
#else
|
|
-short ospeed = 0; /* gets around "not defined" error message */
|
|
+int ospeed = 0; /* gets around "not defined" error message */
|
|
#endif
|
|
|
|
#if defined(POSIX_TYPES) && defined(BSD)
|