public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
* lwip_tcpip multi-line comment warning
@ 2011-01-02 13:30 Ilija Kocho
  2011-01-02 17:18 ` Sergei Gavrikov
  0 siblings, 1 reply; 4+ messages in thread
From: Ilija Kocho @ 2011-01-02 13:30 UTC (permalink / raw)
  To: ecos-patches

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

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

[-- Attachment #2: lwip_multi-line-comment_warning.patch --]
[-- Type: text/x-patch, Size: 922 bytes --]

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)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: lwip_tcpip multi-line comment warning
  2011-01-02 13:30 lwip_tcpip multi-line comment warning Ilija Kocho
@ 2011-01-02 17:18 ` Sergei Gavrikov
  2011-01-02 20:06   ` Ilija Kocho
  0 siblings, 1 reply; 4+ messages in thread
From: Sergei Gavrikov @ 2011-01-02 17:18 UTC (permalink / raw)
  To: Ilija Kocho; +Cc: ecos-patches

On Sun, 2 Jan 2011, Ilija Kocho wrote:

> 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

Hi Ilija,

Could you, please, apply the same fix for src/ecos/simple.c:190 too? And
add ChangeLog entry, please.

Thanks,
Sergei

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: lwip_tcpip multi-line comment warning
  2011-01-02 17:18 ` Sergei Gavrikov
@ 2011-01-02 20:06   ` Ilija Kocho
  2011-01-02 20:27     ` Sergei Gavrikov
  0 siblings, 1 reply; 4+ messages in thread
From: Ilija Kocho @ 2011-01-02 20:06 UTC (permalink / raw)
  To: ecos-patches

[-- Attachment #1: Type: text/plain, Size: 543 bytes --]

On 02.01.2011 18:17, Sergei Gavrikov wrote:
> On Sun, 2 Jan 2011, Ilija Kocho wrote:
>
>> 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
> Hi Ilija,
>
> Could you, please, apply the same fix for src/ecos/simple.c:190 too? And
> add ChangeLog entry, please.
>
> Thanks,
> Sergei
>

Here it is, integral: simple.c, sequential.c and ChangeLog.

Ilija


[-- Attachment #2: lwip_tcpip_multi-line-comment_warnings.patch --]
[-- Type: text/x-patch, Size: 2418 bytes --]

Index: net/lwip_tcpip/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/net/lwip_tcpip/current/ChangeLog,v
retrieving revision 1.13
diff -u -5 -r1.13 ChangeLog
--- net/lwip_tcpip/current/ChangeLog	2 Aug 2010 07:35:10 -0000	1.13
+++ net/lwip_tcpip/current/ChangeLog	2 Jan 2011 19:55:49 -0000
@@ -1,5 +1,10 @@
+2011-01-02  Ilija Kocho  <ilijak@siva.com.mk>
+
+	* src/ecos/sequential.c, src/ecos/simple.c: Fixed miltiple-line
+	comment warnings.
+
 2010-08-02  John Dallaway  <john@dallaway.org.uk>
 
 	* include/network.h: Match braces when including from C++ code.
 	Issue reported by Will Wagner.
 
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 19:55:49 -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: net/lwip_tcpip/current/src/ecos/simple.c
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/net/lwip_tcpip/current/src/ecos/simple.c,v
retrieving revision 1.1
diff -u -5 -r1.1 simple.c
--- net/lwip_tcpip/current/src/ecos/simple.c	26 Jan 2010 11:27:49 -0000	1.1
+++ net/lwip_tcpip/current/src/ecos/simple.c	2 Jan 2011 19:55:49 -0000
@@ -185,12 +185,12 @@
     }
 
     return ERR_OK;
 }
 
-#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)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: lwip_tcpip multi-line comment warning
  2011-01-02 20:06   ` Ilija Kocho
@ 2011-01-02 20:27     ` Sergei Gavrikov
  0 siblings, 0 replies; 4+ messages in thread
From: Sergei Gavrikov @ 2011-01-02 20:27 UTC (permalink / raw)
  To: Ilija Kocho; +Cc: ecos-patches

On Sun, 2 Jan 2011, Ilija Kocho wrote:

> Here it is, integral: simple.c, sequential.c and ChangeLog.

Checked-in. Thank you,

Sergei

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-01-02 20:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-02 13:30 lwip_tcpip multi-line comment warning Ilija Kocho
2011-01-02 17:18 ` Sergei Gavrikov
2011-01-02 20:06   ` Ilija Kocho
2011-01-02 20:27     ` Sergei Gavrikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).