summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_cow.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>2002-08-13 19:03:19 +0000
committerdg <dg@FreeBSD.org>2002-08-13 19:03:19 +0000
commit6dce2e7eff44abde5af8dc5ee18ca69ee0a491b1 (patch)
tree38d456492a460fab5d2ecefd16485346e7819fd5 /sys/kern/uipc_cow.c
parent3a04055091eb426022cf3fe3ae4dd348499c8368 (diff)
downloadFreeBSD-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/uipc_cow.c')
-rw-r--r--sys/kern/uipc_cow.c2
1 files changed, 0 insertions, 2 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
OpenPOWER on IntegriCloud