Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/kern/uipc_socket.c,v retrieving revision 1.98 retrieving revision 1.99 diff -u -p -r1.98 -r1.99 --- src/sys/kern/uipc_socket.c 2004/04/17 15:15:29 1.98 +++ src/sys/kern/uipc_socket.c 2004/04/22 01:01:40 1.99 @@ -1,4 +1,4 @@ -/* $NetBSD: uipc_socket.c,v 1.98 2004/04/17 15:15:29 christos Exp $ */ +/* $NetBSD: uipc_socket.c,v 1.99 2004/04/22 01:01:40 matt Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -68,7 +68,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: uipc_socket.c,v 1.98 2004/04/17 15:15:29 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uipc_socket.c,v 1.99 2004/04/22 01:01:40 matt Exp $"); #include "opt_sock_counters.h" #include "opt_sosend_loan.h" @@ -458,7 +458,7 @@ int socreate(int dom, struct socket **aso, int type, int proto) { struct proc *p; - struct protosw *prp; + const struct protosw *prp; struct socket *so; int error, s; @@ -942,7 +942,7 @@ soreceive(struct socket *so, struct mbuf { struct mbuf *m, **mp; int flags, len, error, s, offset, moff, type, orig_resid; - struct protosw *pr; + const struct protosw *pr; struct mbuf *nextrecord; int mbuf_removed = 0; @@ -1345,7 +1345,7 @@ soreceive(struct socket *so, struct mbuf int soshutdown(struct socket *so, int how) { - struct protosw *pr; + const struct protosw *pr; pr = so->so_proto; if (!(how == SHUT_RD || how == SHUT_WR || how == SHUT_RDWR)) @@ -1363,7 +1363,7 @@ void sorflush(struct socket *so) { struct sockbuf *sb, asb; - struct protosw *pr; + const struct protosw *pr; int s; sb = &so->so_rcv;