From 226d80b8213821af0cbf092d1507c52b504fd368 Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 1 Apr 2006 15:35:09 +0000 Subject: c90 fixes --- src/cmd/ndb/dblookup.c | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) (limited to 'src/cmd/ndb/dblookup.c') diff --git a/src/cmd/ndb/dblookup.c b/src/cmd/ndb/dblookup.c index fd0eb207..7da4db54 100755 --- a/src/cmd/ndb/dblookup.c +++ b/src/cmd/ndb/dblookup.c @@ -23,14 +23,23 @@ static void createptrs(void); static int implemented[Tall] = { - [Ta] 1, - [Tns] 1, - [Tsoa] 1, - [Tmx] 1, - [Tptr] 1, - [Tcname] 1, - [Tnull] 1, - [Ttxt] 1, + 0, + /* Ta */ 1, + /* Tns */ 1, + 0, + 0, + /* Tcname */ 1, + /* Tsoa */ 1, + 0, + 0, + 0, + /* Tnull */ 1, + 0, + /* Tptr */ 1, + 0, + 0, + /* Tmx */ 1, + /* Ttxt */ 1 }; static void -- cgit v1.2.3