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

Kay Sievers kay.sievers at vrfy.org
Mon May 2 15:39:39 PDT 2011


On Tue, May 3, 2011 at 00:20, Paul Menzel
<paulepanter at users.sourceforge.net> 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.

Kay


More information about the systemd-devel mailing list