From b5f50ea3446980984637ad5fac6bd3890102027b Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 12 Sep 2006 13:27:55 +0000 Subject: - small trivia to be gentle to gcc-2.95.x which had no va_copy but only __va_copy. --- libbb/verror_msg.c | 6 +----- libbb/vherror_msg.c | 5 ----- libbb/vinfo_msg.c | 6 +----- libbb/vperror_msg.c | 4 ---- 4 files changed, 2 insertions(+), 19 deletions(-) (limited to 'libbb') diff --git a/libbb/verror_msg.c b/libbb/verror_msg.c index 988a7a293..557b3290a 100644 --- a/libbb/verror_msg.c +++ b/libbb/verror_msg.c @@ -7,12 +7,8 @@ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ -#include -#include -#include -#include -#include #include "libbb.h" +#include int logmode = LOGMODE_STDIO; const char *msg_eol = "\n"; diff --git a/libbb/vherror_msg.c b/libbb/vherror_msg.c index 7d9fc432a..04446a090 100644 --- a/libbb/vherror_msg.c +++ b/libbb/vherror_msg.c @@ -7,13 +7,8 @@ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ -#include -#include -#include - #include "libbb.h" - void bb_vherror_msg(const char *s, va_list p) { bb_verror_msg(s, p, hstrerror(h_errno)); diff --git a/libbb/vinfo_msg.c b/libbb/vinfo_msg.c index 613b013cd..fa2798625 100644 --- a/libbb/vinfo_msg.c +++ b/libbb/vinfo_msg.c @@ -7,12 +7,8 @@ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ -#include -#include -#include -#include -#include #include "libbb.h" +#include void bb_vinfo_msg(const char *s, va_list p) { diff --git a/libbb/vperror_msg.c b/libbb/vperror_msg.c index 70fd671e3..c3f79c23b 100644 --- a/libbb/vperror_msg.c +++ b/libbb/vperror_msg.c @@ -7,10 +7,6 @@ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ -#include -#include -#include -#include #include "libbb.h" void bb_vperror_msg(const char *s, va_list p) -- cgit v1.2.3