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/cmd/postscript | |
parent | fcc5e75d07e5bc6cb3ddac6d9a437e7ec62d0d95 (diff) |
import updated compilers from sources
Diffstat (limited to 'sys/src/cmd/postscript')
-rw-r--r-- | sys/src/cmd/postscript/text2post/text2post.c | 1 | ||||
-rw-r--r-- | sys/src/cmd/postscript/tr2post/ps_include.c | 2 | ||||
-rw-r--r-- | sys/src/cmd/postscript/tr2post/readDESC.c | 3 | ||||
-rw-r--r-- | sys/src/cmd/postscript/tr2post/tr2post.c | 1 |
4 files changed, 5 insertions, 2 deletions
diff --git a/sys/src/cmd/postscript/text2post/text2post.c b/sys/src/cmd/postscript/text2post/text2post.c index 9f547f4d3..963911305 100644 --- a/sys/src/cmd/postscript/text2post/text2post.c +++ b/sys/src/cmd/postscript/text2post/text2post.c @@ -469,6 +469,7 @@ finish(void) { } +void main(int argc, char *argv[]) { int i; char *t; diff --git a/sys/src/cmd/postscript/tr2post/ps_include.c b/sys/src/cmd/postscript/tr2post/ps_include.c index 27d020a3a..182ba2e34 100644 --- a/sys/src/cmd/postscript/tr2post/ps_include.c +++ b/sys/src/cmd/postscript/tr2post/ps_include.c @@ -11,7 +11,7 @@ extern int curfontsize; typedef struct {long start, end;} Section; static char *buf; -static +static void copy(Biobufhdr *fin, Biobufhdr *fout, Section *s) { int cond; if (s->end <= s->start) diff --git a/sys/src/cmd/postscript/tr2post/readDESC.c b/sys/src/cmd/postscript/tr2post/readDESC.c index 473470d38..a6fdb8f93 100644 --- a/sys/src/cmd/postscript/tr2post/readDESC.c +++ b/sys/src/cmd/postscript/tr2post/readDESC.c @@ -54,7 +54,7 @@ readDESC(void) { sprint(descfilename, descnameformat, FONTDIR, devname); if ((bfd = Bopen(descfilename, OREAD)) == 0) { error(WARNING, "cannot open file %s\n", descfilename); - return(0); + return(FALSE); } Bfd = &(bfd->Biobufhdr); @@ -136,4 +136,5 @@ readDESC(void) { } } Bterm(Bfd); + return(TRUE); } diff --git a/sys/src/cmd/postscript/tr2post/tr2post.c b/sys/src/cmd/postscript/tr2post/tr2post.c index 7965eff4a..a2a8686d1 100644 --- a/sys/src/cmd/postscript/tr2post/tr2post.c +++ b/sys/src/cmd/postscript/tr2post/tr2post.c @@ -95,6 +95,7 @@ cleanup(void) { remove(tmpfilename); } +void main(int argc, char *argv[]) { Biobuf *binp; Biobufhdr *Binp; |