Add missing <string.h> includes

This commit is contained in:
Peter De Wachter 2016-01-23 15:53:00 +01:00
parent dfaf049859
commit 8e5376efd9
6 changed files with 12 additions and 0 deletions

View File

@ -34,6 +34,8 @@
#include "expressionSemantics.h" #include "expressionSemantics.h"
#include "semanticMisc.h" #include "semanticMisc.h"
#include <string.h>
operandType *dbOperand; /* safe temps for dbx hacking */ operandType *dbOperand; /* safe temps for dbx hacking */
expressionType *dbExpression; expressionType *dbExpression;
symbolTableEntryType *dbSymbol; symbolTableEntryType *dbSymbol;

View File

@ -30,6 +30,8 @@
#include "macrossTypes.h" #include "macrossTypes.h"
#include "macrossGlobals.h" #include "macrossGlobals.h"
#include <string.h>
#define isAlphaNumeric(c) (alphaNumericCharacterTable[c]) #define isAlphaNumeric(c) (alphaNumericCharacterTable[c])
extern int yydebug; extern int yydebug;

View File

@ -31,6 +31,8 @@
#include "macrossGlobals.h" #include "macrossGlobals.h"
#include "listing.h" #include "listing.h"
#include <string.h>
static char lineBuffer1[LINE_BUFFER_SIZE]; static char lineBuffer1[LINE_BUFFER_SIZE];
static char lineBuffer2[LINE_BUFFER_SIZE]; static char lineBuffer2[LINE_BUFFER_SIZE];
int cumulativeLineNumber = 0; int cumulativeLineNumber = 0;

View File

@ -30,6 +30,8 @@
#include "macrossTypes.h" #include "macrossTypes.h"
#include "macrossGlobals.h" #include "macrossGlobals.h"
#include <string.h>
static int symbolTableSize; static int symbolTableSize;
static int symbolTableStringSize; static int symbolTableStringSize;
bool encodingFunction; bool encodingFunction;

View File

@ -34,6 +34,8 @@
#include "y.tab.h" #include "y.tab.h"
#include "parserMisc.h" #include "parserMisc.h"
#include <string.h>
statementType * statementType *
addLabelToStatement(labelList, statement) addLabelToStatement(labelList, statement)
labelListType *labelList; labelListType *labelList;

View File

@ -35,6 +35,8 @@
#include "semanticMisc.h" #include "semanticMisc.h"
#include "expressionSemantics.h" #include "expressionSemantics.h"
#include <string.h>
#define expansionOff() {saveExpansion=expandMacros; expandMacros=FALSE;} #define expansionOff() {saveExpansion=expandMacros; expandMacros=FALSE;}
#define expansionOn() expandMacros=saveExpansion; #define expansionOn() expandMacros=saveExpansion;