aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/dict/pcollins.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/dict/pcollins.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/dict/pcollins.c')
-rw-r--r--src/cmd/dict/pcollins.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/dict/pcollins.c b/src/cmd/dict/pcollins.c
index 0abe649c..e4d44978 100644
--- a/src/cmd/dict/pcollins.c
+++ b/src/cmd/dict/pcollins.c
@@ -8,7 +8,7 @@
* format (with tags surrounded by >....<)
*/
enum {
- Buflen=1000,
+ Buflen=1000
};
/* More special runes */
@@ -19,7 +19,7 @@ enum {
Ps, /* pronunciation start */
Pe, /* pronunciation end */
R, /* roman */
- X, /* headword end */
+ X /* headword end */
};
/* Assoc tables must be sorted on first field */
@@ -53,7 +53,7 @@ static Assoc tagtab[] = {
{"um", LUML},
{"{", Ps},
{"~", 0x7e},
- {"~~", MTT},
+ {"~~", MTT}
};
static Rune normtab[128] = {
@@ -73,7 +73,7 @@ static Rune normtab[128] = {
/*60*/ 0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67,
0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f,
/*70*/ 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77,
- 0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, NONE,
+ 0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, NONE
};
static char *gettag(char *, char *);