summaryrefslogtreecommitdiffstats
path: root/net.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-07-23 17:06:42 +0000
committerRoy Marples <roy@marples.name>2008-07-23 17:06:42 +0000
commitb8b4be9a39e91342c91e493ce2e08c00d0177aa8 (patch)
treeee2ad95243ab6b0c06485c227cd72ef96762936f /net.h
parent482f13c723f9353308e869d006771c717e440cd9 (diff)
downloaddhcpcd-b8b4be9a39e91342c91e493ce2e08c00d0177aa8.tar.xz
Remove #ifdefs to disable specific bits of code. We now build everything - we're small enough :)
Diffstat (limited to 'net.h')
-rw-r--r--net.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/net.h b/net.h
index f2b3dbe1..3ade0257 100644
--- a/net.h
+++ b/net.h
@@ -103,9 +103,7 @@ struct interface
int raw_fd;
int udp_fd;
-#ifdef ENABLE_ARP
int arp_fd;
-#endif
int link_fd;
size_t buffer_size, buffer_len, buffer_pos;
unsigned char *buffer;
@@ -170,9 +168,7 @@ ssize_t send_raw_packet(const struct interface *, int,
const void *, ssize_t);
ssize_t get_raw_packet(struct interface *, int, void *, ssize_t);
-#ifdef ENABLE_ARP
int send_arp(const struct interface *, int, in_addr_t, in_addr_t);
-#endif
int open_link_socket(struct interface *);
int link_changed(struct interface *);