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[] = { | |||
158 | #ifdef BB_ID | 158 | #ifdef BB_ID |
159 | APPLET("id", id_main, _BB_DIR_USR_BIN, id_usage) | 159 | APPLET("id", id_main, _BB_DIR_USR_BIN, id_usage) |
160 | #endif | 160 | #endif |
161 | #ifdef BB_IFCONFIG | ||
162 | APPLET("ifconfig", ifconfig_main, _BB_DIR_SBIN, ifconfig_usage) | ||
163 | #endif | ||
161 | #ifdef BB_INIT | 164 | #ifdef BB_INIT |
162 | APPLET_NOUSAGE("init", init_main, _BB_DIR_SBIN) | 165 | APPLET_NOUSAGE("init", init_main, _BB_DIR_SBIN) |
163 | #endif | 166 | #endif |
@@ -284,6 +287,9 @@ const struct BB_applet applets[] = { | |||
284 | #ifdef BB_RMMOD | 287 | #ifdef BB_RMMOD |
285 | APPLET("rmmod", rmmod_main, _BB_DIR_SBIN, rmmod_usage) | 288 | APPLET("rmmod", rmmod_main, _BB_DIR_SBIN, rmmod_usage) |
286 | #endif | 289 | #endif |
290 | #ifdef BB_ROUTE | ||
291 | APPLET("route", route_main, _BB_DIR_USR_BIN, route_usage) | ||
292 | #endif | ||
287 | #ifdef BB_RPMUNPACK | 293 | #ifdef BB_RPMUNPACK |
288 | APPLET("rpmunpack", rpmunpack_main, _BB_DIR_USR_BIN, rpmunpack_usage) | 294 | APPLET("rpmunpack", rpmunpack_main, _BB_DIR_USR_BIN, rpmunpack_usage) |
289 | #endif | 295 | #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); | |||
161 | extern char *xstrdup (const char *s); | 161 | extern char *xstrdup (const char *s); |
162 | #endif | 162 | #endif |
163 | extern char *xstrndup (const char *s, int n); | 163 | extern char *xstrndup (const char *s, int n); |
164 | extern char * safe_strncpy(char *dst, const char *src, size_t size); | ||
164 | 165 | ||
165 | struct suffix_mult { | 166 | struct suffix_mult { |
166 | char *suffix; | 167 | char *suffix; |