From d9e3898f8e41958387f57e855d4dd460ebf38324 Mon Sep 17 00:00:00 2001 From: Michael Graff Date: Thu, 29 Apr 1999 06:10:27 +0000 Subject: [PATCH] Add explicit element for initializer for flags, rather than spewing warnings. The flags default to 0, so I set them to explicit 0 for now. --- lib/dns/gen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dns/gen.c b/lib/dns/gen.c index 9568000900..4e5a251d10 100644 --- a/lib/dns/gen.c +++ b/lib/dns/gen.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: gen.c,v 1.16 1999/03/06 18:38:24 halley Exp $ */ + /* $Id: gen.c,v 1.17 1999/04/29 06:10:27 explorer Exp $ */ #include @@ -409,7 +409,7 @@ main(int argc, char **argv) { lasttype = 0; for (tt = types; tt != NULL ; tt = tt->next) if (tt->type != lasttype) - fprintf(stdout, "\t{ %d, \"%s\" },%s\n", + fprintf(stdout, "\t{ %d, \"%s\", 0 },%s\n", lasttype = tt->type, upper(tt->typename), tt->next != NULL ? " \\" : ""); @@ -419,7 +419,7 @@ main(int argc, char **argv) { classes != NULL ? " \\" : ""); for (cc = classes; cc != NULL; cc = cc->next) - fprintf(stdout, "\t{ %d, \"%s\" },%s\n", cc->class, + fprintf(stdout, "\t{ %d, \"%s\", 0 },%s\n", cc->class, upper(cc->classname), cc->next != NULL ? " \\" : "");