aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/jpg/jpegdump.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-04-01 19:24:03 +0000
committerrsc <devnull@localhost>2006-04-01 19:24:03 +0000
commitcbeb0b26e4c7caa8d1b47de791a7418dc20a4567 (patch)
treee0f7e445de1aa22a42ef873dc4b1118a8105ae93 /src/cmd/jpg/jpegdump.c
parent226d80b8213821af0cbf092d1507c52b504fd368 (diff)
downloadplan9port-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/jpg/jpegdump.c')
-rw-r--r--src/cmd/jpg/jpegdump.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cmd/jpg/jpegdump.c b/src/cmd/jpg/jpegdump.c
index 0b132cb7..ee94d07f 100644
--- a/src/cmd/jpg/jpegdump.c
+++ b/src/cmd/jpg/jpegdump.c
@@ -113,7 +113,7 @@ char *sofName[16] = {
"c is otherwise used",
"Sequential DCT - differential arithmetic coding",
"Progressive DCT - differential arithmetic coding",
- "Lossless - differential arithmetic coding",
+ "Lossless - differential arithmetic coding"
};
void get_sof (int kind) {
@@ -272,10 +272,10 @@ main (int argc, char *argv[]) {
if (infile == NULL)
quit ("can't open %s\n", fname);
Start:
-// if (get1() != 0xff || get1() != 0xd8)
-// quit ("not JFIF");
-// printf ("SOI\n");
-// get_app (0xe0);
+/* if (get1() != 0xff || get1() != 0xd8) */
+/* quit ("not JFIF"); */
+/* printf ("SOI\n"); */
+/* get_app (0xe0); */
for (;;) {
c = get1();
if (c != 0xff)