diff options
author | hsu <hsu@FreeBSD.org> | 2003-08-05 00:27:54 +0000 |
---|---|---|
committer | hsu <hsu@FreeBSD.org> | 2003-08-05 00:27:54 +0000 |
commit | fb82c18f66d416fe2da9e9472fea685cd3fb8d87 (patch) | |
tree | 07ac04d1488e8869ef4928f625d48c49dc2e6458 /sys/sys | |
parent | 7bf5fa9caf39cc731d7d0a4284ae21ba234fdd96 (diff) | |
download | FreeBSD-src-fb82c18f66d416fe2da9e9472fea685cd3fb8d87.zip FreeBSD-src-fb82c18f66d416fe2da9e9472fea685cd3fb8d87.tar.gz |
Make the second argument to sooptcopyout() constant in order to
simplify the upcoming PIM patches.
Submitted by: Pavlin Radoslavov <pavlin@icir.org>
Diffstat (limited to 'sys/sys')
-rw-r--r-- | sys/sys/socketvar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/socketvar.h b/sys/sys/socketvar.h index 223ccc2..1bc4c33 100644 --- a/sys/sys/socketvar.h +++ b/sys/sys/socketvar.h @@ -401,7 +401,7 @@ int solisten(struct socket *so, int backlog, struct thread *td); struct socket * sonewconn(struct socket *head, int connstatus); int sooptcopyin(struct sockopt *sopt, void *buf, size_t len, size_t minlen); -int sooptcopyout(struct sockopt *sopt, void *buf, size_t len); +int sooptcopyout(struct sockopt *sopt, const void *buf, size_t len); /* XXX; prepare mbuf for (__FreeBSD__ < 3) routines. */ int soopt_getm(struct sockopt *sopt, struct mbuf **mp); |