[Top][All Lists]

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

RE: [lwip-devel] A few issues

From: Bill Auerbach
Subject: RE: [lwip-devel] A few issues
Date: Mon, 18 May 2009 17:42:29 -0400

Strictly speaking, ret_type function_name() is not Standard C, but a C++ 
shortcut that some compilers take to mean void.  Although K&R C defined this 
syntax, it meant no argument information, not void (which didn't exist in K&R). 
ret_type function_name (void) is correct.


>-----Original Message-----
>From: address@hidden
>[mailto:address@hidden On
>Behalf Of Simon Kallweit
>Sent: Monday, May 18, 2009 4:20 PM
>To: lwip-devel
>Subject: Re: [lwip-devel] A few issues
>address@hidden wrote:
>>> I'll have a look into that. Maybe the correct includes are missing.
>> Should be fixed. Would you mind trying, Simon?
>Still got the warning. Adding a void parameter helped:
>struct netif *ip_current_netif(void);
>const struct ip_hdr *ip_current_header(void);
>lwip-devel mailing list

reply via email to

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