fix the build

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14286 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2005-09-30 22:32:01 +00:00
parent 9a7218c5e5
commit 27c7bf1ac1
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ int socket_ioctl (struct socket *so, int cmd, caddr_t data);
int socket_getpeername (struct socket *so, struct sockaddr *, int *);
int socket_getsockname (struct socket *so, struct sockaddr *, int *);
int socket_pair (struct socket *so, struct socket **nso);
int socket_socketpair (struct socket *so, struct socket **nso);
int socket_set_event_callback(struct socket *so, socket_event_callback, void *, int);

View File

@ -1567,10 +1567,10 @@ int socket_accept(struct socket *so, struct socket **nso, void *data, int *alen)
}
void
int
socket_socketpair(struct socket *so, struct socket **nso)
{
// TODO : implement, eventually fill nso with a new cookie
return ENOIMPL;
return ENOSYS;
}