From 8e5376efd9204392eff8d3f5b7031b010af8b788 Mon Sep 17 00:00:00 2001 From: Peter De Wachter Date: Sat, 23 Jan 2016 15:53:00 +0100 Subject: [PATCH] Add missing includes --- expressionSemantics.c | 2 ++ initialize.c | 2 ++ listing.c | 2 ++ object.c | 2 ++ parserMisc.c | 2 ++ semanticMisc.c | 2 ++ 6 files changed, 12 insertions(+) diff --git a/expressionSemantics.c b/expressionSemantics.c index 0a640db..201a0df 100644 --- a/expressionSemantics.c +++ b/expressionSemantics.c @@ -34,6 +34,8 @@ #include "expressionSemantics.h" #include "semanticMisc.h" +#include + operandType *dbOperand; /* safe temps for dbx hacking */ expressionType *dbExpression; symbolTableEntryType *dbSymbol; diff --git a/initialize.c b/initialize.c index 3a4aa98..e7deac7 100644 --- a/initialize.c +++ b/initialize.c @@ -30,6 +30,8 @@ #include "macrossTypes.h" #include "macrossGlobals.h" +#include + #define isAlphaNumeric(c) (alphaNumericCharacterTable[c]) extern int yydebug; diff --git a/listing.c b/listing.c index 548922a..2395e27 100644 --- a/listing.c +++ b/listing.c @@ -31,6 +31,8 @@ #include "macrossGlobals.h" #include "listing.h" +#include + static char lineBuffer1[LINE_BUFFER_SIZE]; static char lineBuffer2[LINE_BUFFER_SIZE]; int cumulativeLineNumber = 0; diff --git a/object.c b/object.c index 30d4a85..02e5338 100644 --- a/object.c +++ b/object.c @@ -30,6 +30,8 @@ #include "macrossTypes.h" #include "macrossGlobals.h" +#include + static int symbolTableSize; static int symbolTableStringSize; bool encodingFunction; diff --git a/parserMisc.c b/parserMisc.c index 5f96c2b..51982a4 100644 --- a/parserMisc.c +++ b/parserMisc.c @@ -34,6 +34,8 @@ #include "y.tab.h" #include "parserMisc.h" +#include + statementType * addLabelToStatement(labelList, statement) labelListType *labelList; diff --git a/semanticMisc.c b/semanticMisc.c index a2f0203..885ef6b 100644 --- a/semanticMisc.c +++ b/semanticMisc.c @@ -35,6 +35,8 @@ #include "semanticMisc.h" #include "expressionSemantics.h" +#include + #define expansionOff() {saveExpansion=expandMacros; expandMacros=FALSE;} #define expansionOn() expandMacros=saveExpansion;