summaryrefslogtreecommitdiffstats
path: root/dhcpcd/namespace.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-05-02 08:58:48 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-05-08 06:50:17 +0200
commit8bd38d645ca2a3bc481a2c1dbfa78fbcb9882378 (patch)
tree8a3bd431075685a3aa212af743e17dcfe134ea00 /dhcpcd/namespace.h
parentrc_conf: Do not create directories used by dhcpcd (diff)
downloadrtems-libbsd-8bd38d645ca2a3bc481a2c1dbfa78fbcb9882378.tar.bz2
dhcpcd: Add rtems_dhcpcd_start()
Use it throughout to start the DHCP client (dhcpcd).
Diffstat (limited to 'dhcpcd/namespace.h')
-rw-r--r--dhcpcd/namespace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dhcpcd/namespace.h b/dhcpcd/namespace.h
index 7299c7d0..efff909a 100644
--- a/dhcpcd/namespace.h
+++ b/dhcpcd/namespace.h
@@ -1,3 +1,7 @@
+#include <rtems/thread.h>
+
+extern rtems_recursive_mutex dhcpcd_mutex;
+
#define add_options dhcpcd_add_options
#define arp_announce dhcpcd_arp_announce
#define arp_probe dhcpcd_arp_probe