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/libndb | |
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/libndb')
-rw-r--r-- | src/libndb/ndbcache.c | 2 | ||||
-rw-r--r-- | src/libndb/ndbhash.c | 2 | ||||
-rw-r--r-- | src/libndb/ndbipinfo.c | 4 | ||||
-rw-r--r-- | src/libndb/sysdnsquery.c | 3 |
4 files changed, 5 insertions, 6 deletions
diff --git a/src/libndb/ndbcache.c b/src/libndb/ndbcache.c index 701d63eb..80dbc35b 100644 --- a/src/libndb/ndbcache.c +++ b/src/libndb/ndbcache.c @@ -14,7 +14,7 @@ struct Ndbcache enum { - Maxcached= 128, + Maxcached= 128 }; static void diff --git a/src/libndb/ndbhash.c b/src/libndb/ndbhash.c index a6965cdb..4f9cb4b6 100644 --- a/src/libndb/ndbhash.c +++ b/src/libndb/ndbhash.c @@ -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 */ }; /* diff --git a/src/libndb/ndbipinfo.c b/src/libndb/ndbipinfo.c index a860c8b7..29dd4df1 100644 --- a/src/libndb/ndbipinfo.c +++ b/src/libndb/ndbipinfo.c @@ -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); diff --git a/src/libndb/sysdnsquery.c b/src/libndb/sysdnsquery.c index 8d3bf7b6..b9661be1 100644 --- a/src/libndb/sysdnsquery.c +++ b/src/libndb/sysdnsquery.c @@ -134,8 +134,7 @@ enum Chs, /* Hesiod (?) */ /* class queries (all class types are also queries) */ - Call= 255, /* all classes */ - + Call= 255 /* all classes */ }; |