[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0803122311270.14822@fbirervta.pbzchgretzou.qr>
Date: Wed, 12 Mar 2008 23:12:00 +0100 (CET)
From: Jan Engelhardt <jengelh@...putergmbh.de>
To: Krzysztof Halasa <khc@...waw.pl>
cc: Jeff Garzik <jeff@...zik.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] Re: WAN: new PPP code for generic HDLC
On Mar 12 2008 21:10, Krzysztof Halasa wrote:
>
>> -static const char *code_names[CP_CODES] = {"0", "ConfReq", "ConfAck",
>> +static const char *const code_names[] = {"0", "ConfReq", "ConfAck",
>> "ConfNak", "ConfRej", "TermReq",
>> "TermAck", "CodeRej", "ProtoRej",
>> "EchoReq", "EchoReply", "Discard"};
>
>The explicit sizes are there as a prevention.
You can keep them if you need, the main issue was const anyway.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists