* as/link/aslink.h: added LKOBJEXT
[fw/sdcc] / as / z80 / aslist.c
index 845f728dbd8ee34c5035543fe4c6bcaa6c6c6692..8fc6653569957aed7a09e42ab00719835ab0d215 100644 (file)
@@ -16,7 +16,9 @@
 #include <stdio.h>
 #include <setjmp.h>
 #include <string.h>
-#include <alloc.h>
+#include <stdlib.h>
+
+
 #include "asm.h"
 
 /*)Module      aslist.c
@@ -78,7 +80,7 @@ list()
 {
        register char *wp;
        register int *wpt;
-       register nb;
+       register int nb;
 
        if (lfp == NULL || lmode == NLIST)
                return;
@@ -354,7 +356,7 @@ list1(wp, wpt, nb, f)
 register char *wp;
 register int *wpt, nb, f;
 {
-       register i;
+       register int i;
 
        /*
         * HEX output Option.