diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-07-30 19:11:16 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-07-30 19:11:16 +0200 |
commit | 4f33c88a51587681b7be1ae57cfbc43b627c6bc4 (patch) | |
tree | 25560404dc80007e5dc268811242c9071f6a1017 /sys/src/ape/cmd/make | |
parent | fcc5e75d07e5bc6cb3ddac6d9a437e7ec62d0d95 (diff) |
import updated compilers from sources
Diffstat (limited to 'sys/src/ape/cmd/make')
-rw-r--r-- | sys/src/ape/cmd/make/dosys.c | 2 | ||||
-rw-r--r-- | sys/src/ape/cmd/make/gram.y | 1 | ||||
-rw-r--r-- | sys/src/ape/cmd/make/misc.c | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/sys/src/ape/cmd/make/dosys.c b/sys/src/ape/cmd/make/dosys.c index 7d28eaa4d..dfa417b84 100644 --- a/sys/src/ape/cmd/make/dosys.c +++ b/sys/src/ape/cmd/make/dosys.c @@ -164,7 +164,7 @@ for(i=0, procp=procstack; i<nproc; ++i, ++procp) sprintf(junk, "spurious return from process %d", pid); fatal(junk); -/*NOTREACHED*/ +return -1;/*NOTREACHED*/ } static int diff --git a/sys/src/ape/cmd/make/gram.y b/sys/src/ape/cmd/make/gram.y index db83c5148..73bf48f08 100644 --- a/sys/src/ape/cmd/make/gram.y +++ b/sys/src/ape/cmd/make/gram.y @@ -438,4 +438,5 @@ char buf[100]; sprintf(buf, "line %d of file %s: %s", yylineno, filestack[ninclude-1].fname, s); fatal(buf); +return -1; } diff --git a/sys/src/ape/cmd/make/misc.c b/sys/src/ape/cmd/make/misc.c index cd7a990d2..3bb3932fa 100644 --- a/sys/src/ape/cmd/make/misc.c +++ b/sys/src/ape/cmd/make/misc.c @@ -189,7 +189,7 @@ if( p = (int *) calloc(1,n) ) return p; fatal("out of memory"); -/* NOTREACHED */ +return 0;/* NOTREACHED */ } /* copy string a into b, substituting for arguments */ |