diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/.gitignore | 1 | ||||
-rw-r--r-- | include/libbb.h | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/.gitignore b/include/.gitignore index 75afff9ca..13a96e018 100644 --- a/include/.gitignore +++ b/include/.gitignore | |||
@@ -5,6 +5,7 @@ | |||
5 | /autoconf.h | 5 | /autoconf.h |
6 | /bbconfigopts_bz2.h | 6 | /bbconfigopts_bz2.h |
7 | /bbconfigopts.h | 7 | /bbconfigopts.h |
8 | /embedded_scripts.h | ||
8 | /NUM_APPLETS.h | 9 | /NUM_APPLETS.h |
9 | /usage_compressed.h | 10 | /usage_compressed.h |
10 | /usage.h | 11 | /usage.h |
diff --git a/include/libbb.h b/include/libbb.h index 140404ff5..affff5874 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1321,9 +1321,17 @@ void bb_logenv_override(void) FAST_FUNC; | |||
1321 | #define MAIN_EXTERNALLY_VISIBLE | 1321 | #define MAIN_EXTERNALLY_VISIBLE |
1322 | #endif | 1322 | #endif |
1323 | 1323 | ||
1324 | /* Embedded script support */ | ||
1325 | //int find_script_by_name(const char *arg IF_FEATURE_SH_STANDALONE(, int offset)) FAST_FUNC; | ||
1326 | char *get_script_content(unsigned n) FAST_FUNC; | ||
1324 | 1327 | ||
1325 | /* Applets which are useful from another applets */ | 1328 | /* Applets which are useful from another applets */ |
1326 | int bb_cat(char** argv) FAST_FUNC; | 1329 | int bb_cat(char** argv) FAST_FUNC; |
1330 | int ash_main(int argc, char** argv) | ||
1331 | #if ENABLE_ASH || ENABLE_SH_IS_ASH || ENABLE_BASH_IS_ASH | ||
1332 | MAIN_EXTERNALLY_VISIBLE | ||
1333 | #endif | ||
1334 | ; | ||
1327 | /* If shell needs them, they exist even if not enabled as applets */ | 1335 | /* If shell needs them, they exist even if not enabled as applets */ |
1328 | int echo_main(int argc, char** argv) IF_ECHO(MAIN_EXTERNALLY_VISIBLE); | 1336 | int echo_main(int argc, char** argv) IF_ECHO(MAIN_EXTERNALLY_VISIBLE); |
1329 | int printf_main(int argc, char **argv) IF_PRINTF(MAIN_EXTERNALLY_VISIBLE); | 1337 | int printf_main(int argc, char **argv) IF_PRINTF(MAIN_EXTERNALLY_VISIBLE); |