diff options
author | Russ Cox <rsc@golang.org> | 2020-01-12 15:05:40 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2020-01-12 15:07:42 -0500 |
commit | fafa622a5bdf71adfbb4334541c3b65f29c89ca9 (patch) | |
tree | 189d86fb978b151ddf2f303f9c4efab196d79f17 /src/cmd/svgpic | |
parent | fa325e9b42b0bdfb48857d1958d9fb7ceac55151 (diff) | |
download | plan9port-fafa622a5bdf71adfbb4334541c3b65f29c89ca9.tar.gz plan9port-fafa622a5bdf71adfbb4334541c3b65f29c89ca9.tar.bz2 plan9port-fafa622a5bdf71adfbb4334541c3b65f29c89ca9.zip |
all: fix or silence various gcc warnings
As usual, gcc finds some real problems but also reports a ton
of noise. Fix the problems and quiet the noise.
Diffstat (limited to 'src/cmd/svgpic')
-rw-r--r-- | src/cmd/svgpic/input.c | 2 | ||||
-rw-r--r-- | src/cmd/svgpic/pic.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/svgpic/input.c b/src/cmd/svgpic/input.c index a81f622e..92e8d62d 100644 --- a/src/cmd/svgpic/input.c +++ b/src/cmd/svgpic/input.c @@ -435,7 +435,7 @@ double errcheck(double x, char *s) return x; } -char errbuf[200]; +char errbuf[1000]; void eprint(void); diff --git a/src/cmd/svgpic/pic.h b/src/cmd/svgpic/pic.h index 928d38dd..cdaf71e5 100644 --- a/src/cmd/svgpic/pic.h +++ b/src/cmd/svgpic/pic.h @@ -9,7 +9,7 @@ extern void yyerror(char *); -extern char errbuf[200]; +extern char errbuf[1000]; #undef sprintf /* Snow Leopard */ |