Delinted a bit
authorceriel <none@none>
Tue, 19 Feb 1991 15:28:48 +0000 (15:28 +0000)
committerceriel <none@none>
Tue, 19 Feb 1991 15:28:48 +0000 (15:28 +0000)
lang/m2/comp/main.c
lang/m2/comp/options.c

index 6a5a30f..05c8744 100644 (file)
@@ -69,6 +69,7 @@ main(argc, argv)
                exit(1);
        }
        exit(!Compile(Nargv[1], Nargv[2]));
+       /*NOTREACHED*/
 }
 
 Compile(src, dst)
@@ -195,7 +196,7 @@ static struct stdproc sysprocs[] = {
        { 0,            0 }
 };
 
-extern t_def *Enter();
+extern t_def *Enter(), *EnterType();
 
 AddProcs(p)
        register struct stdproc *p;
index 3f78bc9..01ae929 100644 (file)
@@ -140,7 +140,7 @@ DoOption(text)
 
                        if (++nDEF > mDEF) {
                                DEFPATH = (char **)
-                                 Realloc(DEFPATH,(mDEF+=10)*sizeof(char *));
+                                 Realloc((char *)DEFPATH,(unsigned)(mDEF+=10)*sizeof(char *));
                        }
 
                        for (i = ndirs++; i < nDEF; i++) {