X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=report.c;h=b6101e406d7550c1b0be70c87a303344aea8e7cb;hb=f16d8d23439b5569f0c2e1af22494708b507f277;hp=e6f4b63cb1432c2237eb9248aa3f9c13150b6326;hpb=62a673b11f3fa98e06ae3159618c8540dfb3c595;p=~andy%2Ffetchmail diff --git a/report.c b/report.c index e6f4b63c..b6101e40 100644 --- a/report.c +++ b/report.c @@ -20,7 +20,7 @@ #include "gettext.h" #include "fetchmail.h" -# include +#include #define MALLOC(n) xmalloc(n) #define REALLOC(n,s) xrealloc(n,s) @@ -143,7 +143,6 @@ static void rep_ensuresize(void) { } } -#ifdef HAVE_STDARG_H static void report_vbuild(const char *message, va_list args) { int n; @@ -172,7 +171,6 @@ static void report_vbuild(const char *message, va_list args) partial_message = (char *)REALLOC (partial_message, partial_message_size); } } -#endif void report_build (FILE *errfp, const char *message, ...) { @@ -180,7 +178,7 @@ void report_build (FILE *errfp, const char *message, ...) rep_ensuresize(); - VA_START(args, message); + va_start(args, message); report_vbuild(message, args); va_end(args); @@ -212,7 +210,7 @@ void report_complete (FILE *errfp, const char *message, ...) rep_ensuresize(); - VA_START(args, message); + va_start(args, message); report_vbuild(message, args); va_end(args);