|
From: | Simon Kallweit |
Subject: | [lwip-devel] A few issues |
Date: | Mon, 18 May 2009 14:22:25 +0200 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090318) |
HiI just checked out the HEAD from the CVS to update the lwIP port for eCos I'm currently working on. Two issues arised:
* Two compiler warnings: lwip/ip.h:66: warning: function declaration isn’t a prototype lwip/ip.h:67: warning: function declaration isn’t a prototype* When using NO_SYS == 1 I get an compiler error because the definition of sys_prot_t is missing. All is fine in NO_SYS == 0 as in this case sys.h includes sys_arch.h which defines sys_prot_t. Shouldn't the sys_arch.h include be moved to the top of sys.h so it gets included for both NO_SYS == 0/1? Or is sys_arch.h only intended to be used in the NO_SYS == 0 case? Where should sys_prot_t then be defined?
Best regards Simon
[Prev in Thread] | Current Thread | [Next in Thread] |