Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
This commit is contained in:
parent
226d80b821
commit
cbeb0b26e4
492 changed files with 3218 additions and 3167 deletions
|
|
@ -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 *);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue