Minor change: inet_chksum.c

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Minor change: inet_chksum.c

Bill Auerbach
Minor change: inet_chksum.c

This is indeed very minor but it will reduce the code footprint on smaller 8-bit systems.  These sometimes dont have sophisticated linkers to remove individual functions from modules (even though they are the platforms that most need to have code reduced).

Function inet_chksum_pseudo_partial could be wrapped within

#if LWIP_UDPLITE

#endif

Bill


_______________________________________________
lwip-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/lwip-devel
Reply | Threaded
Open this post in threaded view
|

Re: Minor change: inet_chksum.c

Jonathan Larmour
bill wrote:
>
> Function inet_chksum_pseudo_partial could be wrapped within
>
> #if LWIP_UDPLITE
>
> #endif

Fair enough, done!

Jifl
--
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.
------["The best things in life aren't things."]------      Opinions==mine


_______________________________________________
lwip-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/lwip-devel