diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 6 | ||||
-rw-r--r-- | include/busybox.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 4bd8b79e4..9aa65dac0 100644 --- a/include/applets.h +++ b/include/applets.h @@ -158,6 +158,9 @@ const struct BB_applet applets[] = { #ifdef BB_ID APPLET("id", id_main, _BB_DIR_USR_BIN, id_usage) #endif +#ifdef BB_IFCONFIG + APPLET("ifconfig", ifconfig_main, _BB_DIR_SBIN, ifconfig_usage) +#endif #ifdef BB_INIT APPLET_NOUSAGE("init", init_main, _BB_DIR_SBIN) #endif @@ -284,6 +287,9 @@ const struct BB_applet applets[] = { #ifdef BB_RMMOD APPLET("rmmod", rmmod_main, _BB_DIR_SBIN, rmmod_usage) #endif +#ifdef BB_ROUTE + APPLET("route", route_main, _BB_DIR_USR_BIN, route_usage) +#endif #ifdef BB_RPMUNPACK APPLET("rpmunpack", rpmunpack_main, _BB_DIR_USR_BIN, rpmunpack_usage) #endif diff --git a/include/busybox.h b/include/busybox.h index 101e65989..39580b548 100644 --- a/include/busybox.h +++ b/include/busybox.h @@ -161,6 +161,7 @@ extern void *xcalloc(size_t nmemb, size_t size); extern char *xstrdup (const char *s); #endif extern char *xstrndup (const char *s, int n); +extern char * safe_strncpy(char *dst, const char *src, size_t size); struct suffix_mult { char *suffix; |