diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/appletlib.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c index 3cdf0c613..401475f18 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c | |||
@@ -310,6 +310,22 @@ int FAST_FUNC find_applet_by_name(const char *name) | |||
310 | #endif | 310 | #endif |
311 | } | 311 | } |
312 | 312 | ||
313 | # if ENABLE_PLATFORM_MINGW32 && ENABLE_FEATURE_SH_NOFORK | ||
314 | int FAST_FUNC long_running_applet(int applet_no) | ||
315 | { | ||
316 | int ret = 0; | ||
317 | |||
318 | #if defined(APPLET_NO_seq) | ||
319 | ret |= (applet_no == APPLET_NO_seq); | ||
320 | #endif | ||
321 | #if defined(APPLET_NO_yes) | ||
322 | ret |= (applet_no == APPLET_NO_yes); | ||
323 | #endif | ||
324 | |||
325 | return ret; | ||
326 | } | ||
327 | #endif | ||
328 | |||
313 | 329 | ||
314 | void lbb_prepare(const char *applet | 330 | void lbb_prepare(const char *applet |
315 | IF_FEATURE_INDIVIDUAL(, char **argv)) | 331 | IF_FEATURE_INDIVIDUAL(, char **argv)) |