mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-30 22:43:54 +08:00
Multiple compilation fixes:
- use C style comments, not C++ style; - don't use #if with undefined parameter;
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
|
||||
struct dhcp6
|
||||
{
|
||||
//TODO: implement DHCP6
|
||||
/*TODO: implement DHCP6*/
|
||||
};
|
||||
|
||||
#endif /* LWIP_IPV6_DHCP6 */
|
||||
|
||||
@@ -51,7 +51,7 @@ typedef union {
|
||||
|
||||
/** These functions only exist for type-safe conversion from ip_addr_t to
|
||||
ip6_addr_t and back */
|
||||
#if LWIP_ALLOW_STATIC_FN_IN_HEADER
|
||||
#ifdef LWIP_ALLOW_STATIC_FN_IN_HEADER
|
||||
static ip6_addr_t* ip_2_ip6(ip_addr_t *ipaddr)
|
||||
{ return (ip6_addr_t*)ipaddr;}
|
||||
static ip_addr_t* ip6_2_ip(ip6_addr_t *ip6addr)
|
||||
|
||||
Reference in New Issue
Block a user