From cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 1 Apr 2006 19:24:03 +0000 Subject: Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. --- src/cmd/jpg/jpegdump.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/cmd/jpg/jpegdump.c') 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) -- cgit v1.2.3