[systemd-devel] [PATCH] src/util.h: include `stdarg.h`

Lennart Poettering lennart at poettering.net
Mon May 9 16:47:57 PDT 2011


On Mon, 09.05.11 11:04, Paul Menzel (paulepanter at users.sourceforge.net) wrote:

> Am Dienstag, den 03.05.2011, 00:39 +0200 schrieb Kay Sievers:
> > On Tue, May 3, 2011 at 00:20, Paul Menzel wrote:
> > > Am Montag, den 02.05.2011, 19:26 +0200 schrieb Lennart Poettering:
> > >> Hmm, this should be enough to include in util.c, not util.h, right?
> > 
> > > I tried adding it just to `util.c` and it did not fix the problem.
> > > Unfortunately I do not know what uClibc expects. I only know using
> > > EGLIBC and the same tool chain does not show this problem.
> > 
> > Guess we need it util.h as the prototypes use it:
> >   void status_vprintf(const char *format, va_list ap);
> > and it's not type that the compiler could guess.
> 
> Sounds reasonable. Lennart, could you please commit the patch.

Done, thanks!

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list