From e859ef24910cae347e4dbe542f105ce4d4b83728 Mon Sep 17 00:00:00 2001 From: dtrg Date: Wed, 19 Jul 2006 10:28:43 +0000 Subject: [PATCH] Rationalised use of #includes to be more standards-compliant. --- lang/basic/src/bem.h | 1 + lang/cem/cemcom.ansi/code.c | 2 ++ lang/cem/cemcom.ansi/idf.c | 2 ++ lang/cem/cemcom.ansi/init.c | 2 ++ lang/cem/cemcom.ansi/input.c | 3 +++ lang/cem/cemcom.ansi/options.c | 2 ++ lang/cem/cemcom.ansi/replace.c | 3 +++ lang/cem/cemcom/arith.c | 3 +++ lang/cem/cemcom/code.c | 3 +++ lang/cem/cemcom/options.c | 3 +++ lang/cem/cemcom/replace.c | 3 +++ lang/cem/cemcom/stack.c | 3 +++ lang/cem/cpp.ansi/input.c | 3 +++ 13 files changed, 33 insertions(+) diff --git a/lang/basic/src/bem.h b/lang/basic/src/bem.h index 05b349124..deb6eb435 100644 --- a/lang/basic/src/bem.h +++ b/lang/basic/src/bem.h @@ -4,6 +4,7 @@ */ #include +#include #include #include #include diff --git a/lang/cem/cemcom.ansi/code.c b/lang/cem/cemcom.ansi/code.c index 1f969bf95..6289529ae 100644 --- a/lang/cem/cemcom.ansi/code.c +++ b/lang/cem/cemcom.ansi/code.c @@ -5,6 +5,8 @@ /* $Id$ */ /* C O D E - G E N E R A T I N G R O U T I N E S */ +#include +#include #include "lint.h" #include "debug.h" #include "dbsymtab.h" diff --git a/lang/cem/cemcom.ansi/idf.c b/lang/cem/cemcom.ansi/idf.c index 59e225cb4..56db5c20e 100644 --- a/lang/cem/cemcom.ansi/idf.c +++ b/lang/cem/cemcom.ansi/idf.c @@ -5,6 +5,8 @@ /* $Id$ */ /* IDENTIFIER FIDDLING & SYMBOL TABLE HANDLING */ +#include +#include #include "lint.h" #include #include "debug.h" diff --git a/lang/cem/cemcom.ansi/init.c b/lang/cem/cemcom.ansi/init.c index bc97dae64..d59b1de18 100644 --- a/lang/cem/cemcom.ansi/init.c +++ b/lang/cem/cemcom.ansi/init.c @@ -5,6 +5,8 @@ /* $Id$ */ /* PREPROCESSOR: INITIALIZATION ROUTINES */ +#include +#include #include "nopp.h" #ifndef NOPP diff --git a/lang/cem/cemcom.ansi/input.c b/lang/cem/cemcom.ansi/input.c index 904fb33c6..05193d2cd 100644 --- a/lang/cem/cemcom.ansi/input.c +++ b/lang/cem/cemcom.ansi/input.c @@ -4,6 +4,9 @@ */ /* $Id$ */ +#include +#include +#include #include "inputtype.h" #include "file_info.h" #include "input.h" diff --git a/lang/cem/cemcom.ansi/options.c b/lang/cem/cemcom.ansi/options.c index c7298d525..379c7c603 100644 --- a/lang/cem/cemcom.ansi/options.c +++ b/lang/cem/cemcom.ansi/options.c @@ -5,6 +5,8 @@ /* $Id$ */ /* U S E R O P T I O N - H A N D L I N G */ +#include +#include #include "lint.h" #include "botch_free.h" #include diff --git a/lang/cem/cemcom.ansi/replace.c b/lang/cem/cemcom.ansi/replace.c index b5571db27..856c38d03 100644 --- a/lang/cem/cemcom.ansi/replace.c +++ b/lang/cem/cemcom.ansi/replace.c @@ -4,6 +4,9 @@ */ /* $Id$ */ /* M A C R O R E P L A C E M E N T */ + +#include +#include #include "nopp.h" #ifndef NOPP diff --git a/lang/cem/cemcom/arith.c b/lang/cem/cemcom/arith.c index 8a337f55a..ce3ab4ef5 100644 --- a/lang/cem/cemcom/arith.c +++ b/lang/cem/cemcom/arith.c @@ -11,6 +11,9 @@ semantics of C is a mess. */ +#include +#include +#include #include #include "lint.h" #include "nofloat.h" diff --git a/lang/cem/cemcom/code.c b/lang/cem/cemcom/code.c index d82b8dac1..0107a4462 100644 --- a/lang/cem/cemcom/code.c +++ b/lang/cem/cemcom/code.c @@ -5,6 +5,9 @@ /* $Id$ */ /* C O D E - G E N E R A T I N G R O U T I N E S */ +#include +#include +#include #include "lint.h" #include "dbsymtab.h" #ifndef LINT diff --git a/lang/cem/cemcom/options.c b/lang/cem/cemcom/options.c index 849253af8..62e3dc9f6 100644 --- a/lang/cem/cemcom/options.c +++ b/lang/cem/cemcom/options.c @@ -5,6 +5,9 @@ /* $Id$ */ /* U S E R O P T I O N - H A N D L I N G */ +#include +#include +#include #include "lint.h" #include "botch_free.h" #include diff --git a/lang/cem/cemcom/replace.c b/lang/cem/cemcom/replace.c index 96b4a6d7c..15f9c1df8 100644 --- a/lang/cem/cemcom/replace.c +++ b/lang/cem/cemcom/replace.c @@ -5,6 +5,9 @@ /* $Id$ */ /* PREPROCESSOR: MACRO-TEXT REPLACEMENT ROUTINES */ +#include +#include +#include #include "nopp.h" #ifndef NOPP diff --git a/lang/cem/cemcom/stack.c b/lang/cem/cemcom/stack.c index f5a5ee913..073683d2b 100644 --- a/lang/cem/cemcom/stack.c +++ b/lang/cem/cemcom/stack.c @@ -5,6 +5,9 @@ /* $Id$ */ /* S T A C K / U N S T A C K R O U T I N E S */ +#include +#include +#include #include "lint.h" #include "nofloat.h" #include diff --git a/lang/cem/cpp.ansi/input.c b/lang/cem/cpp.ansi/input.c index 2001bfa9e..960d5e523 100644 --- a/lang/cem/cpp.ansi/input.c +++ b/lang/cem/cpp.ansi/input.c @@ -4,6 +4,9 @@ */ /* $Id$ */ +#include +#include +#include #include "file_info.h" #include "input.h"