Made everything static
-------------------------------------------------------------------------*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <ctype.h>
-#include "SDCCglobl.h"
-#include "newalloc.h"
-
#if defined(_MSC_VER) && (_MSC_VER < 1300)
#define __FUNCTION__ __FILE__
#endif
#include "common.h"
-#include "SDCCpeeph.h"
-#include "ralloc.h"
-#include "pcode.h"
+#include "newalloc.h"
+//#include "SDCCglobl.h"
+//#include "SDCCpeeph.h"
+
#include "gen.h"
+#include "pcode.h"
+#include "ralloc.h"
#define BYTEofLONG(l,b) ( (l>> (b<<3)) & 0xff)
-extern void DEBUGpic14_AopType(int line_no, operand *left, operand *right, operand *result);
const char *AopType(short type)
{
return "BAD TYPE";
}
-void DebugAop(asmop *aop)
+#if 0
+static void DebugAop(asmop *aop)
{
if(!aop)
return;
break;
}
}
+#endif
const char *pCodeOpType( pCodeOp *pcop)
{
/*-----------------------------------------------------------------*/
/* genPlusIncr :- does addition with increment if possible */
/*-----------------------------------------------------------------*/
-bool genPlusIncr (iCode *ic)
+static bool genPlusIncr (iCode *ic)
{
unsigned int icount ;
unsigned int size = pic14_getDataSize(IC_RESULT(ic));
return FALSE ;
}
+#if 0
/*-----------------------------------------------------------------*/
/* pic14_outBitAcc - output a bit in acc */
/*-----------------------------------------------------------------*/
-void pic14_outBitAcc(operand *result)
+static void pic14_outBitAcc(operand *result)
{
symbol *tlbl = newiTempLabel(NULL);
/* if the result is a bit */
pic14_outAcc(result);
}
}
+#endif
#if 0
/* This is the original version of this code.