[Top][All Lists]

[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: Gecko/20070515 Firefox/

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):
--- 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"
-#  include "lwip/dhcp.h"
+struct dhcp;
-#  include "lwip/autoip.h"
+struct autoip;
 #ifdef __cplusplus


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

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