public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a294d4
)
Delinted a bit
author
ceriel
<none@none>
Tue, 19 Feb 1991 15:28:48 +0000
(15:28 +0000)
committer
ceriel
<none@none>
Tue, 19 Feb 1991 15:28:48 +0000
(15:28 +0000)
lang/m2/comp/main.c
patch
|
blob
|
history
lang/m2/comp/options.c
patch
|
blob
|
history
diff --git
a/lang/m2/comp/main.c
b/lang/m2/comp/main.c
index
6a5a30f
..
05c8744
100644
(file)
--- a/
lang/m2/comp/main.c
+++ b/
lang/m2/comp/main.c
@@
-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;
diff --git
a/lang/m2/comp/options.c
b/lang/m2/comp/options.c
index
3f78bc9
..
01ae929
100644
(file)
--- a/
lang/m2/comp/options.c
+++ b/
lang/m2/comp/options.c
@@
-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++) {