diff options
author | dg <dg@FreeBSD.org> | 2002-08-13 19:03:19 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 2002-08-13 19:03:19 +0000 |
commit | 6dce2e7eff44abde5af8dc5ee18ca69ee0a491b1 (patch) | |
tree | 38d456492a460fab5d2ecefd16485346e7819fd5 /sys/kern | |
parent | 3a04055091eb426022cf3fe3ae4dd348499c8368 (diff) | |
download | FreeBSD-src-6dce2e7eff44abde5af8dc5ee18ca69ee0a491b1.zip FreeBSD-src-6dce2e7eff44abde5af8dc5ee18ca69ee0a491b1.tar.gz |
Moved sf_buf_alloc and sf_buf_free function declarations to sys/socketvar.h
so that they can be seen by external callers.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/uipc_cow.c | 2 | ||||
-rw-r--r-- | sys/kern/uipc_syscalls.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/uipc_cow.c b/sys/kern/uipc_cow.c index f909e78..14231a2 100644 --- a/sys/kern/uipc_cow.c +++ b/sys/kern/uipc_cow.c @@ -80,8 +80,6 @@ static struct netsend_cow_stats socow_stats = {0,0,0,0,0,0,0,0,0,0,0}; extern struct sf_buf *sf_bufs; extern vm_offset_t sf_base; #define dtosf(x) (&sf_bufs[((uintptr_t)(x) - (uintptr_t)sf_base) >> PAGE_SHIFT]) -void sf_buf_free(caddr_t addr, void *args); -struct sf_buf *sf_buf_alloc(void); static void socow_iodone(void *addr, void *args); static void diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c index 793e958..bcc065d 100644 --- a/sys/kern/uipc_syscalls.c +++ b/sys/kern/uipc_syscalls.c @@ -76,8 +76,6 @@ static void sf_buf_init(void *arg); SYSINIT(sock_sf, SI_SUB_MBUF, SI_ORDER_ANY, sf_buf_init, NULL) -struct sf_buf *sf_buf_alloc(void); -void sf_buf_free(void *addr, void *args); static int sendit(struct thread *td, int s, struct msghdr *mp, int flags); static int recvit(struct thread *td, int s, struct msghdr *mp, void *namelenp); |