Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2002 07:52:22 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        current@FreeBSD.ORG, <ken@FreeBSD.ORG>
Subject:   Re: buildkernel error with ENABLE_VFS_IOOPT/ZERO_COPY_SOCKETS
Message-ID:  <20020708074116.T13321-100000@gamplex.bde.org>
In-Reply-To: <200207071607.g67G78JX076844@Magelan.Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020708074116.T13321-100000>