]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/commitdiff
removed redundant redeclaration of tcp_active_pcbs (already defined by tcp.h)
authorlukem <lukem>
Fri, 20 Feb 2004 00:51:49 +0000 (00:51 +0000)
committerlukem <lukem>
Fri, 20 Feb 2004 00:51:49 +0000 (00:51 +0000)
src/core/netif.c

index 625566e210abf4cae516ad691457bcc555904641..6f0e2682a37fb1afe7ea2c8c564a81dc57e7bfa7 100644 (file)
@@ -171,7 +171,7 @@ netif_set_ipaddr(struct netif *netif, struct ip_addr *ipaddr)
   /* address is actually being changed? */
   if ((ip_addr_cmp(ipaddr, &(netif->ip_addr))) == 0)
   {
-    extern struct tcp_pcb *tcp_active_pcbs;
+    /* extern struct tcp_pcb *tcp_active_pcbs; defined by tcp.h */
     LWIP_DEBUGF(NETIF_DEBUG | 1, ("netif_set_ipaddr: netif address being changed\n"));
     pcb = tcp_active_pcbs;
     while (pcb != NULL) {