On Sun, 7 Jul 2002, Alexander Leidinger wrote: > -current from today fails in kern/kern_subr.c: > > ../../../kern/kern_subr.c:220: warning: function declaration isn't a prototype > > ---snip--- > #if defined(ENABLE_VFS_IOOPT) || defined(ZERO_COPY_SOCKETS) > /* > * Experimental support for zero-copy I/O > */ > static int > userspaceco(cp, cnt, uio, obj, disposable) > caddr_t cp; > u_int cnt; > struct uio *uio; > struct vm_object *obj; > int disposable; > { > ---snip---
This happens when ENABLE_VFS_IOOPT is configured by ZERO_COPY_SOCKETS is not configured. I don't like the #includes and declarations being in an unusual order just to avoid ifdefs. Bruce To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message