From 9cc83a74e22e989b079e86b38d0e7d997507f7ae Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 17 Dec 2013 14:06:35 +0100 Subject: DHCPCD(8): Disable script support --- dhcpcd/script.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'dhcpcd') 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 -- cgit v1.2.3