New memory allocation functions with Linux fixes
[fw/sdcc] / as / z80 / aslist.c
index 845f728dbd8ee34c5035543fe4c6bcaa6c6c6692..e3a12b3e1192ed1a4515b1abadf2ead2e09b5a47 100644 (file)
 #include <stdio.h>
 #include <setjmp.h>
 #include <string.h>
-#include <alloc.h>
+#include <malloc.h>
+
+//#include "newalloc.h"
+//#if defined(_MSC_VER)
+//#include <malloc.h>
+//#else
+//#include <alloc.h>
+//#endif
+
 #include "asm.h"
 
 /*)Module      aslist.c
@@ -78,7 +86,7 @@ list()
 {
        register char *wp;
        register int *wpt;
-       register nb;
+       register int nb;
 
        if (lfp == NULL || lmode == NLIST)
                return;
@@ -354,7 +362,7 @@ list1(wp, wpt, nb, f)
 register char *wp;
 register int *wpt, nb, f;
 {
-       register i;
+       register int i;
 
        /*
         * HEX output Option.