diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-05-02 09:01:32 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-05-08 07:37:17 +0200 |
commit | b2eb48c23b86cb61504bb0324a94ea11df5653e8 (patch) | |
tree | 4c293be7b280f369f72c7250fd73902d8bc65a79 /dhcpcd/script.h | |
parent | dhcpcd: Add rtems_dhcpcd_start() (diff) | |
download | rtems-libbsd-b2eb48c23b86cb61504bb0324a94ea11df5653e8.tar.bz2 |
dhcpcd: Add hooks
Diffstat (limited to '')
-rw-r--r-- | dhcpcd/script.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/dhcpcd/script.h b/dhcpcd/script.h index dfd4a172..9c5fd4d4 100644 --- a/dhcpcd/script.h +++ b/dhcpcd/script.h @@ -33,16 +33,12 @@ 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__ */ +int script_runreason(const struct interface *, const char *); #endif |