This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
lwip_tcpip multi-line comment warning
- From: Ilija Kocho <ilijak at siva dot com dot mk>
- To: ecos-patches at ecos dot sourceware dot org
- Date: Sun, 02 Jan 2011 14:29:58 +0100
- Subject: lwip_tcpip multi-line comment warning
When lwip_tcpip is included and sequential option selected, the
following warning appears:
packages/net/lwip_tcpip/current/src/ecos/sequential.c:118:8: warning:
multi-line comment
The attached patch removes it.
Ilija
Index: net/lwip_tcpip/current/src/ecos/sequential.c
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/net/lwip_tcpip/current/src/ecos/sequential.c,v
retrieving revision 1.1
diff -u -5 -r1.1 sequential.c
--- net/lwip_tcpip/current/src/ecos/sequential.c 26 Jan 2010 11:27:49 -0000 1.1
+++ net/lwip_tcpip/current/src/ecos/sequential.c 2 Jan 2011 13:05:05 -0000
@@ -113,12 +113,12 @@
set_ip_addr(struct ip_addr *addr, u8_t a, u8_t b, u8_t c, u8_t d)
{
IP4_ADDR(addr, a, b, c, d);
}
-#endif // (LWIP_HAVE_LOOPIF && defined(CYGIMP_LWIP_LOOPIF_INSTANCE)) || \
- (LWIP_HAVE_SLIPIF && defined(CYGIMP_LWIP_SLIPIF_INSTANCE))
+#endif // (LWIP_HAVE_LOOPIF && defined(CYGIMP_LWIP_LOOPIF_INSTANCE)) ||
+ // (LWIP_HAVE_SLIPIF && defined(CYGIMP_LWIP_SLIPIF_INSTANCE))
#ifdef CYGFUN_LWIP_SHOW_NETIF_CONFIG
static void
show_netif_config(struct netif *netif)