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/htmlroff | |
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/htmlroff')
-rw-r--r-- | src/cmd/htmlroff/a.h | 2 | ||||
-rw-r--r-- | src/cmd/htmlroff/char.c | 2 | ||||
-rw-r--r-- | src/cmd/htmlroff/roff.c | 2 | ||||
-rw-r--r-- | src/cmd/htmlroff/t17.c | 2 | ||||
-rw-r--r-- | src/cmd/htmlroff/t4.c | 2 | ||||
-rw-r--r-- | src/cmd/htmlroff/t7.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/src/cmd/htmlroff/a.h b/src/cmd/htmlroff/a.h index c17da850..173fdc96 100644 --- a/src/cmd/htmlroff/a.h +++ b/src/cmd/htmlroff/a.h @@ -30,7 +30,7 @@ enum ArgMode = 1<<3, HtmlMode = 1<<4, - MaxLine = 1024, + MaxLine = 1024 }; Rune* L(char*); diff --git a/src/cmd/htmlroff/char.c b/src/cmd/htmlroff/char.c index 1c7d1237..e6797516 100644 --- a/src/cmd/htmlroff/char.c +++ b/src/cmd/htmlroff/char.c @@ -70,7 +70,7 @@ static Trtab trinit[] = "em", 0x2014, "en", 0x2013, "mi", Umi, - "fm", 0x2032, + "fm", 0x2032 }; Rune diff --git a/src/cmd/htmlroff/roff.c b/src/cmd/htmlroff/roff.c index 6a7cd09e..bdc51a3e 100644 --- a/src/cmd/htmlroff/roff.c +++ b/src/cmd/htmlroff/roff.c @@ -7,7 +7,7 @@ enum MAXESC = 60, MAXLINE = 1024, MAXIF = 20, - MAXARG = 10, + MAXARG = 10 }; typedef struct Esc Esc; diff --git a/src/cmd/htmlroff/t17.c b/src/cmd/htmlroff/t17.c index 2800ec76..bbd095d5 100644 --- a/src/cmd/htmlroff/t17.c +++ b/src/cmd/htmlroff/t17.c @@ -47,7 +47,7 @@ Env defenv = 12, 0, 0, - 0, + 0 }; Env env[3]; diff --git a/src/cmd/htmlroff/t4.c b/src/cmd/htmlroff/t4.c index eadc76ed..157169de 100644 --- a/src/cmd/htmlroff/t4.c +++ b/src/cmd/htmlroff/t4.c @@ -49,7 +49,7 @@ r_fi(int argc, Rune **argv) USED(argc); USED(argv); nr(L(".fi"), 1); -// warn(".fi"); +/* warn(".fi"); */ } /* no-fill mode */ diff --git a/src/cmd/htmlroff/t7.c b/src/cmd/htmlroff/t7.c index 19b77ec1..9936a44c 100644 --- a/src/cmd/htmlroff/t7.c +++ b/src/cmd/htmlroff/t7.c @@ -375,7 +375,7 @@ r_di(int argc, Rune **argv) if(argc == 1){ /* end diversion */ if(ndi <= 0){ - // warn("unmatched %C%S", dot, argv[0]); + /* warn("unmatched %C%S", dot, argv[0]); */ return; } flushdi(); |