Mercurial > hg > dhcpcd
comparison src/dhcp.c @ 5530:226b850d158d draft
Fix compile without various defines
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Fri, 30 Oct 2020 22:18:57 +0000 |
| parents | 16610f4104a4 |
| children | a0d828e25482 |
comparison
equal
deleted
inserted
replaced
| 5529:16610f4104a4 | 5530:226b850d158d |
|---|---|
| 2080 } | 2080 } |
| 2081 #endif | 2081 #endif |
| 2082 | 2082 |
| 2083 #ifdef ARP | 2083 #ifdef ARP |
| 2084 #ifdef KERNEL_RFC5227 | 2084 #ifdef KERNEL_RFC5227 |
| 2085 #ifdef ARPING | |
| 2085 static void | 2086 static void |
| 2086 dhcp_arp_announced(struct arp_state *state) | 2087 dhcp_arp_announced(struct arp_state *state) |
| 2087 { | 2088 { |
| 2088 | 2089 |
| 2089 arp_free(state); | 2090 arp_free(state); |
| 2090 } | 2091 } |
| 2092 #endif | |
| 2091 #else | 2093 #else |
| 2092 static void | 2094 static void |
| 2093 dhcp_arp_defend_failed(struct arp_state *astate) | 2095 dhcp_arp_defend_failed(struct arp_state *astate) |
| 2094 { | 2096 { |
| 2095 struct interface *ifp = astate->iface; | 2097 struct interface *ifp = astate->iface; |
