lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #5952] Integration of AutoIP module


From: Simon Goldschmidt
Subject: [lwip-devel] [patch #5952] Integration of AutoIP module
Date: Mon, 18 Jun 2007 19:32:55 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

Follow-up Comment #19, patch #5952 (project lwip):

What do you think of this patch (of netif.h) to solve the cyclic inclusion
problem (simple forward declaration of the used structs instead of including
the whole file, also done in tcp.h to forward-declare the struct tcp_pcb used
as a pointer in tcp-functions):
>>>patch>>>
--- netif.h     9 Jun 2007 16:57:05 -0000       1.34
+++ netif.h     18 Jun 2007 19:26:50 -0000
@@ -41,10 +41,10 @@
 #include "lwip/inet.h"
 #include "lwip/pbuf.h"
 #if LWIP_DHCP
-#  include "lwip/dhcp.h"
+struct dhcp;
 #endif
 #if LWIP_AUTOIP
-#  include "lwip/autoip.h"
+struct autoip;
 #endif
 
 #ifdef __cplusplus
<<<patch<<<

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5952>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]