summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2002-05-06 06:20:04 +0000
committeralc <alc@FreeBSD.org>2002-05-06 06:20:04 +0000
commit94ec8e207fa54fc27dc6b7806e894d374ef63711 (patch)
treefe1eacc1623f8a5e3c530e0b0742cfbc51f00b84 /sys
parentd60a525036422ccbba23ce156a0a31a69aa7ebbb (diff)
downloadFreeBSD-src-94ec8e207fa54fc27dc6b7806e894d374ef63711.zip
FreeBSD-src-94ec8e207fa54fc27dc6b7806e894d374ef63711.tar.gz
o Header files shouldn't depend on options: Provide prototypes
for uiomoveco(), uioread(), and vm_uiomove() regardless of whether ENABLE_VFS_IOOPT is defined or not. Submitted by: bde
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/uio.h2
-rw-r--r--sys/vm/vm_map.h3
2 files changed, 0 insertions, 5 deletions
diff --git a/sys/sys/uio.h b/sys/sys/uio.h
index 59e54f1..e09ca3f 100644
--- a/sys/sys/uio.h
+++ b/sys/sys/uio.h
@@ -86,10 +86,8 @@ struct vm_object;
void uio_yield(void);
int uiomove(caddr_t, int, struct uio *);
-#ifdef ENABLE_VFS_IOOPT /* Experimental support for zero-copy I/O */
int uiomoveco(caddr_t, int, struct uio *, struct vm_object *);
int uioread(int, struct uio *, struct vm_object *, int *);
-#endif
int copyinfrom(const void *src, void *dst, size_t len, int seg);
int copyinstrfrom(const void *src, void *dst, size_t len,
size_t *copied, int seg);
diff --git a/sys/vm/vm_map.h b/sys/vm/vm_map.h
index 38f3419..8ad633f 100644
--- a/sys/vm/vm_map.h
+++ b/sys/vm/vm_map.h
@@ -303,9 +303,6 @@ void vm_init2 (void);
int vm_map_stack (vm_map_t, vm_offset_t, vm_size_t, vm_prot_t, vm_prot_t, int);
int vm_map_growstack (struct proc *p, vm_offset_t addr);
int vmspace_swap_count (struct vmspace *vmspace);
-
-#ifdef ENABLE_VFS_IOOPT /* Experimental support for zero-copy I/O */
int vm_uiomove(vm_map_t, vm_object_t, off_t, int, vm_offset_t, int *);
-#endif
#endif /* _KERNEL */
#endif /* _VM_MAP_ */
OpenPOWER on IntegriCloud