From: Christos Zoulas Date: Thu, 16 Sep 1993 21:14:20 +0000 (+0000) Subject: Fixed last NULL entry to avoid gcc warnings. X-Git-Tag: FILE3_27~145 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd72e33d12293a3753876ce1aea60a086fe09c1b;p=file Fixed last NULL entry to avoid gcc warnings. --- diff --git a/src/names.h b/src/names.h index cbd00a72..5d989ee5 100644 --- a/src/names.h +++ b/src/names.h @@ -10,7 +10,7 @@ * * See LEGAL.NOTICE * - * $Id: names.h,v 1.10 1993/03/24 14:22:56 ian Exp $ + * $Id: names.h,v 1.11 1993/09/16 21:14:20 christos Exp $ */ /* these types are used to index the table 'types': keep em in sync! */ @@ -85,6 +85,6 @@ static struct names { {"Newsgroups:", L_NEWS}, {"Path:", L_NEWS}, {"Organization:",L_NEWS}, - {0} - }; + {NULL, 0} +}; #define NNAMES ((sizeof(names)/sizeof(struct names)) - 1)