lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] What is xchar() macro?


From: Joel Cunningham
Subject: Re: [lwip-devel] What is xchar() macro?
Date: Wed, 01 Nov 2017 19:05:14 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0



On 11/01/2017 02:06 PM, address@hidden wrote:
Joel Cunningham wrote:
I think a simple fix would be moving the xchar macro out of that block
and we could guard with #ifndef xchar for whatever bizarre platform
provides it

Or move it out of the block and define it unconditionally with a lwip_ prefix. Maybe even as a static function. I don't think there's too much to improve here by using a central definition if we can't find one now.

Attached patch implements the conversion to a static lwip_xchar()...and provides some documentation :)

Joel

Attachment: 0001-ip6_addr-convert-xchar-to-lwip_xchar.patch
Description: Text Data


reply via email to

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