1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-25 16:13:17 +00:00

Make the second argument to sooptcopyout() constant in order to

simplify the upcoming PIM patches.

Submitted by:   Pavlin Radoslavov <pavlin@icir.org>
This commit is contained in:
Jeffrey Hsu 2003-08-05 00:27:54 +00:00
parent 76bd23557b
commit cc3426866c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118453
2 changed files with 2 additions and 5 deletions

View File

@ -1425,10 +1425,7 @@ sosetopt(so, sopt)
/* Helper routine for getsockopt */
int
sooptcopyout(sopt, buf, len)
struct sockopt *sopt;
void *buf;
size_t len;
sooptcopyout(struct sockopt *sopt, const void *buf, size_t len)
{
int error;
size_t valsize;

View File

@ -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);