summaryrefslogtreecommitdiffstats
path: root/dhcpcd
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-12-17 14:06:35 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-01-30 16:23:04 +0100
commit9cc83a74e22e989b079e86b38d0e7d997507f7ae (patch)
tree930aafc5f79f015763627bdffdb80167134d2fda /dhcpcd
parentf724741db0d48a6fd0bb07ac42bba9b203d3eb71 (diff)
downloadrtems-libbsd-9cc83a74e22e989b079e86b38d0e7d997507f7ae.tar.bz2
DHCPCD(8): Disable script support
Diffstat (limited to 'dhcpcd')
-rw-r--r--dhcpcd/script.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/dhcpcd/script.h b/dhcpcd/script.h
index 4f9a085a..dfd4a172 100644
--- a/dhcpcd/script.h
+++ b/dhcpcd/script.h
@@ -31,7 +31,18 @@
#include "net.h"
void if_printoptions(void);
+#ifndef __rtems__
int send_interface(int, const struct interface *);
int script_runreason(const struct interface *, const char *);
+#else /* __rtems__ */
+static inline int send_interface(int fd, const struct interface *iface)
+{
+ return 0;
+}
+static inline int script_runreason(const struct interface *ifp, const char *reason)
+{
+ return 0;
+}
+#endif /* __rtems__ */
#endif