Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2017 14:02:44 -0800
From:      Conrad Meyer <cem@freebsd.org>
To:        Scott Long <scottl@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r314420 - head/sys/kern
Message-ID:  <CAG6CVpVdWg3XQS-0Vo7dz2NudJCArufNA7Bc7wN=ygK6q_vVvw@mail.gmail.com>
In-Reply-To: <201702282127.v1SLRqDH048319@repo.freebsd.org>
References:  <201702282127.v1SLRqDH048319@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 28, 2017 at 1:27 PM, Scott Long <scottl@freebsd.org> wrote:
> Author: scottl
> Date: Tue Feb 28 21:27:51 2017
> New Revision: 314420
> URL: https://svnweb.freebsd.org/changeset/base/314420
>
> Log:
>   Provide a comment on why stdio.h needs to be included.
>
> Modified:
>   head/sys/kern/subr_prf.c
>
> Modified: head/sys/kern/subr_prf.c
> ==============================================================================
> --- head/sys/kern/subr_prf.c    Tue Feb 28 21:18:45 2017        (r314419)
> +++ head/sys/kern/subr_prf.c    Tue Feb 28 21:27:51 2017        (r314420)
> @@ -76,6 +76,13 @@ __FBSDID("$FreeBSD$");
>  #include <machine/stdarg.h>
>  #else
>  #include <stdarg.h>
> +#endif
> +
> +/*
> + * This is needed for sbuf_putbuf() when compiled into userland.  Due to the
> + * shared nature of this file, it's the only place to put it.

Couldn't it go in the #else clause above?

Best,
Conrad



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpVdWg3XQS-0Vo7dz2NudJCArufNA7Bc7wN=ygK6q_vVvw>