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
|
|
@ -14,7 +14,7 @@ struct Ndbcache
|
|||
|
||||
enum
|
||||
{
|
||||
Maxcached= 128,
|
||||
Maxcached= 128
|
||||
};
|
||||
|
||||
static void
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
enum {
|
||||
Dptr, /* pointer to database file */
|
||||
Cptr, /* pointer to first chain entry */
|
||||
Cptr1, /* pointer to second chain entry */
|
||||
Cptr1 /* pointer to second chain entry */
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@
|
|||
enum
|
||||
{
|
||||
Ffound= 1<<0,
|
||||
Fignore=1<<1,
|
||||
Faddr= 1<<2,
|
||||
Fignore= 1<<1,
|
||||
Faddr= 1<<2
|
||||
};
|
||||
|
||||
static Ndbtuple* filter(Ndb *db, Ndbtuple *t, Ndbtuple *f);
|
||||
|
|
|
|||
|
|
@ -134,8 +134,7 @@ enum
|
|||
Chs, /* Hesiod (?) */
|
||||
|
||||
/* class queries (all class types are also queries) */
|
||||
Call= 255, /* all classes */
|
||||
|
||||
Call= 255 /* all classes */
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue