This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]