From f232b4dc29d12c2c3ebd82c2a91196c4ad7dc59a Mon Sep 17 00:00:00 2001 From: dtrg Date: Sat, 22 Jul 2006 17:58:49 +0000 Subject: [PATCH] Rationalised use of #includes to be more standards-compliant. --- util/led/archive.c | 8 +++++--- util/led/error.c | 1 + util/led/extract.c | 4 +++- util/led/sym.c | 4 +++- util/led/write.c | 4 +++- 5 files changed, 15 insertions(+), 6 deletions(-) diff --git a/util/led/archive.c b/util/led/archive.c index 41eac3258..e36958d17 100644 --- a/util/led/archive.c +++ b/util/led/archive.c @@ -6,9 +6,11 @@ static char rcsid[] = "$Id$"; #endif -#include -#include -#include +#include +#include +#include "arch.h" +#include "out.h" +#include "ranlib.h" #include "const.h" #include "debug.h" #include "defs.h" diff --git a/util/led/error.c b/util/led/error.c index a534ce48d..7f7a53749 100644 --- a/util/led/error.c +++ b/util/led/error.c @@ -6,6 +6,7 @@ static char rcsid[] = "$Id$"; #endif +#include #include #include #include "const.h" diff --git a/util/led/extract.c b/util/led/extract.c index 6a0d40b86..3b0983c9d 100644 --- a/util/led/extract.c +++ b/util/led/extract.c @@ -6,7 +6,9 @@ static char rcsid[] = "$Id$"; #endif -#include +#include +#include +#include "out.h" #include "const.h" #include "debug.h" #include "defs.h" diff --git a/util/led/sym.c b/util/led/sym.c index dacd4d024..2ec47b6b7 100644 --- a/util/led/sym.c +++ b/util/led/sym.c @@ -10,7 +10,9 @@ static char rcsid[] = "$Id$"; * Symbol table management. */ -#include +#include +#include +#include "out.h" #include "const.h" #include "memory.h" #include "debug.h" diff --git a/util/led/write.c b/util/led/write.c index 8ce3c6323..d77ea98ef 100644 --- a/util/led/write.c +++ b/util/led/write.c @@ -6,8 +6,10 @@ static char rcsid[] = "$Id$"; #endif -#include +#include #include +#include +#include "out.h" #include "const.h" #include "assert.h" #include "memory.h"