delinted somewhat
authorceriel <none@none>
Thu, 2 Feb 1989 16:31:51 +0000 (16:31 +0000)
committerceriel <none@none>
Thu, 2 Feb 1989 16:31:51 +0000 (16:31 +0000)
mach/proto/ncg/fillem.c
mach/proto/ncg/main.c
mach/proto/ncg/move.c

index 0c7bdc8..dd95f98 100644 (file)
@@ -77,7 +77,6 @@ int procno=0;
 int curseg= -1;
 int part_size=0;
 word part_word=0;
-int endofprog=0;
 #ifdef REGVARS
 int regallowed=0;
 #endif
@@ -140,7 +139,6 @@ fillemlines() {
                        return;
                case EOF:
                        nextispseu=1; savetab1=t;
-                       endofprog=1;
                        nemlines--;
                        lp->em_instr = 0;
                        return;
@@ -552,7 +550,7 @@ char *strarg(t) {
 }
 
 bss(n,t,b) full n; {
-       register long s;
+       register long s = 0;
 
        if (n % TEM_WSIZE)
                fatal("bad BSS size");
index a778d6f..8a8e2a1 100644 (file)
@@ -21,8 +21,6 @@ int Debug=0;
 char *strtdebug="";
 #endif
 
-extern int endofprog;
-
 main(argc,argv) char **argv; {
        register unsigned n;
        extern unsigned cc1,cc2,cc3,cc4;
index 49ab81d..e28ecd9 100644 (file)
@@ -18,8 +18,6 @@ static char rcsid[] = "$Header$";
  * Author: Hans van Staveren
  */
 
-unsigned costcalc();
-
 move(tp1,tp2,ply,toplevel,maxcost) token_p tp1,tp2; unsigned maxcost; {
        register move_p mp;
        unsigned t;