mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 03:17:56 +08:00
DHCPCD(8): Disable script support
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user