diff options
author | 1998-02-03 19:06:23 +0000 | |
---|---|---|
committer | 1998-02-03 19:06:23 +0000 | |
commit | f3542b36d3f11705880acb5d7b2e199815e4d0f0 (patch) | |
tree | aee7f328570ff097f304f3908f9471c81c847a5e | |
parent | Steal better desciption of GLOB_NOESCAPE from fnmatch(3). (diff) | |
download | wireguard-openbsd-f3542b36d3f11705880acb5d7b2e199815e4d0f0.tar.xz wireguard-openbsd-f3542b36d3f11705880acb5d7b2e199815e4d0f0.zip |
bad types; wileyc@sekiya.twics.co.jp
-rw-r--r-- | sys/kern/kern_ktrace.c | 4 | ||||
-rw-r--r-- | sys/kern/kern_synch.c | 6 | ||||
-rw-r--r-- | sys/kern/tty.c | 4 | ||||
-rw-r--r-- | sys/kern/uipc_mbuf.c | 4 | ||||
-rw-r--r-- | sys/net/if_ethersubr.c | 4 | ||||
-rw-r--r-- | sys/netinet/ip_esp_old.c | 4 | ||||
-rw-r--r-- | sys/netinet/ip_output.c | 4 | ||||
-rw-r--r-- | sys/netinet/tcp_output.c | 4 |
8 files changed, 17 insertions, 17 deletions
diff --git a/sys/kern/kern_ktrace.c b/sys/kern/kern_ktrace.c index 0f11c7770a3..56b6f3f6205 100644 --- a/sys/kern/kern_ktrace.c +++ b/sys/kern/kern_ktrace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_ktrace.c,v 1.8 1997/11/14 23:40:55 csapuntz Exp $ */ +/* $OpenBSD: kern_ktrace.c,v 1.9 1998/02/03 19:06:23 deraadt Exp $ */ /* $NetBSD: kern_ktrace.c,v 1.23 1996/02/09 18:59:36 christos Exp $ */ /* @@ -83,7 +83,7 @@ ktrsyscall(vp, code, argsize, args) { struct ktr_header *kth; struct ktr_syscall *ktp; - register len = sizeof(struct ktr_syscall) + argsize; + register unsigned int len = sizeof(struct ktr_syscall) + argsize; struct proc *p = curproc; /* XXX */ register_t *argp; int i; diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c index 8cda84d876a..5dc7269111c 100644 --- a/sys/kern/kern_synch.c +++ b/sys/kern/kern_synch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_synch.c,v 1.11 1997/11/06 05:58:19 csapuntz Exp $ */ +/* $OpenBSD: kern_synch.c,v 1.12 1998/02/03 19:06:25 deraadt Exp $ */ /* $NetBSD: kern_synch.c,v 1.37 1996/04/22 01:38:37 christos Exp $ */ /*- @@ -291,7 +291,7 @@ tsleep(ident, priority, wmesg, timo) { register struct proc *p = curproc; register struct slpque *qp; - register s; + register int s; int sig, catch = priority & PCATCH; extern int cold; void endtsleep __P((void *)); @@ -424,7 +424,7 @@ sleep(ident, priority) { register struct proc *p = curproc; register struct slpque *qp; - register s; + register int s; extern int cold; #ifdef DIAGNOSTIC diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 9364d3a23ae..a4242bcc78b 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.33 1997/11/13 09:10:57 deraadt Exp $ */ +/* $OpenBSD: tty.c,v 1.34 1998/02/03 19:06:26 deraadt Exp $ */ /* $NetBSD: tty.c,v 1.68.4.2 1996/06/06 16:04:52 thorpej Exp $ */ /*- @@ -1307,7 +1307,7 @@ ttypend(tp) register struct tty *tp; { struct clist tq; - register c; + register int c; CLR(tp->t_lflag, PENDIN); SET(tp->t_state, TS_TYPEN); diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index 7442121d505..0bfe0b49bf6 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_mbuf.c,v 1.6 1997/08/20 05:42:26 millert Exp $ */ +/* $OpenBSD: uipc_mbuf.c,v 1.7 1998/02/03 19:06:27 deraadt Exp $ */ /* $NetBSD: uipc_mbuf.c,v 1.15.4.1 1996/06/13 17:11:44 cgd Exp $ */ /* @@ -408,7 +408,7 @@ m_adj(mp, req_len) { register int len = req_len; register struct mbuf *m; - register count; + register int count; if ((m = mp) == NULL) return; diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 6fd2a7ffd30..c8c25532ecb 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ethersubr.c,v 1.24 1997/09/27 02:35:57 deraadt Exp $ */ +/* $OpenBSD: if_ethersubr.c,v 1.25 1998/02/03 19:06:28 deraadt Exp $ */ /* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */ /* @@ -680,7 +680,7 @@ char * ether_sprintf(ap) register u_char *ap; { - register i; + register int i; static char etherbuf[18]; register char *cp = etherbuf; diff --git a/sys/netinet/ip_esp_old.c b/sys/netinet/ip_esp_old.c index 80e3bb6b8b5..7c4466bb09a 100644 --- a/sys/netinet/ip_esp_old.c +++ b/sys/netinet/ip_esp_old.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_esp_old.c,v 1.12 1998/01/21 18:43:34 provos Exp $ */ +/* $OpenBSD: ip_esp_old.c,v 1.13 1998/02/03 19:06:29 deraadt Exp $ */ /* * The author of this code is John Ioannidis, ji@tla.org, @@ -69,7 +69,7 @@ extern void des_ecb3_encrypt(caddr_t, caddr_t, caddr_t, caddr_t, caddr_t, int); extern void des_ecb_encrypt(caddr_t, caddr_t, caddr_t, int); extern void des_set_key(caddr_t, caddr_t); -extern encap_sendnotify(int, struct tdb *); +extern int encap_sendnotify(int, struct tdb *); static void des1_encrypt(void *, u_int8_t *); static void des3_encrypt(void *, u_int8_t *); diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index 29c0913c45b..990bf072e94 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_output.c,v 1.24 1997/10/02 02:31:07 deraadt Exp $ */ +/* $OpenBSD: ip_output.c,v 1.25 1998/02/03 19:06:30 deraadt Exp $ */ /* $NetBSD: ip_output.c,v 1.28 1996/02/13 23:43:07 christos Exp $ */ /* @@ -1041,7 +1041,7 @@ ip_pcbopts(pcbopt, m) struct mbuf **pcbopt; register struct mbuf *m; { - register cnt, optlen; + register int cnt, optlen; register u_char *cp; u_char opt; diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index 5bdaae2f0ad..5d024b41c80 100644 --- a/sys/netinet/tcp_output.c +++ b/sys/netinet/tcp_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_output.c,v 1.8 1997/11/24 07:28:33 deraadt Exp $ */ +/* $OpenBSD: tcp_output.c,v 1.9 1998/02/03 19:06:30 deraadt Exp $ */ /* $NetBSD: tcp_output.c,v 1.16 1997/06/03 16:17:09 kml Exp $ */ /* @@ -606,7 +606,7 @@ void tcp_setpersist(tp) register struct tcpcb *tp; { - register t = ((tp->t_srtt >> 2) + tp->t_rttvar) >> 1; + register int t = ((tp->t_srtt >> 2) + tp->t_rttvar) >> 1; if (tp->t_timer[TCPT_REXMT]) panic("tcp_output REXMT"); |