diff options
author | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
commit | cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 (patch) | |
tree | e0f7e445de1aa22a42ef873dc4b1118a8105ae93 /src/cmd/page/gfx.c | |
parent | 226d80b8213821af0cbf092d1507c52b504fd368 (diff) | |
download | plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.gz plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.bz2 plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.zip |
Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
Diffstat (limited to 'src/cmd/page/gfx.c')
-rw-r--r-- | src/cmd/page/gfx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/page/gfx.c b/src/cmd/page/gfx.c index 6a947039..9ce6f74c 100644 --- a/src/cmd/page/gfx.c +++ b/src/cmd/page/gfx.c @@ -44,7 +44,7 @@ enum { Ippm, Ipng, Iyuv, - Ibmp, + Ibmp }; /* @@ -65,7 +65,7 @@ Convert cvt[] = { [Iccittg4] { "ccitt-g4", "cat %a|rx nslocum /usr/lib/ocr/bin/bcp -M|fb/pcp -tcompressed -l0" }, [Ipng] { "png", "png -9 %a", "png -t9 %a" }, [Iyuv] { "yuv", "yuv -9 %a", "yuv -t9 %a" }, -[Ibmp] { "bmp", "bmp -9 %a", "bmp -t9 %a" }, +[Ibmp] { "bmp", "bmp -9 %a", "bmp -t9 %a" } }; static Image* convert(Graphic*); @@ -325,7 +325,7 @@ spawnrc(char *cmd, uchar *stdinbuf, int nstdinbuf) else dup(open("/dev/null", OREAD), 0); dup(pfd[0], 1); - //dup(pfd[0], 2); + /*dup(pfd[0], 2); */ execl("/bin/rc", "rc", "-c", cmd, nil); wexits("exec"); } |