[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] (no subject)

From: Jonathan Larmour
Subject: Re: [lwip-devel] (no subject)
Date: Thu, 24 Jan 2008 14:51:23 +0000
User-agent: Thunderbird (X11/20070530)

Bill Auerbach wrote:
> I think it is better for data to be const as shown below as it then
> allows assigning const and non-const pointers to data.
> struct fs_file {
>   const char *data;
>   int len;
> }

Absolutely, I don't think anyone would disagree (we don't use K&R C in
lwIP). So if there are places that want it, please consider submitting a
patch to https://savannah.nongnu.org/patch/?group=lwip

eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine

reply via email to

[Prev in Thread] Current Thread [Next in Thread]