diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-04-10 23:03:30 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-04-10 23:03:30 +0000 |
commit | af0dfd1b9fbb1ba8ccba9f220018e6819180149e (patch) | |
tree | d0dd803ca8b6c70521895fd5ec71ef532861b8e4 /include/libbb.h | |
parent | ca47f469046173726e352cef459929bd27d132bd (diff) | |
download | busybox-w32-af0dfd1b9fbb1ba8ccba9f220018e6819180149e.tar.gz busybox-w32-af0dfd1b9fbb1ba8ccba9f220018e6819180149e.tar.bz2 busybox-w32-af0dfd1b9fbb1ba8ccba9f220018e6819180149e.zip |
Rename two config options:
FEATURE_SH_STANDALONE_SHELL => FEATURE_SH_STANDALONE
FEATURE_EXEC_PREFER_APPLETS => FEATURE_PREFER_APPLETS
Make SH_STANDALONE depend on PREFER_APPLETS.
getopt.c: more randomconfig-induced fixes
git-svn-id: svn://busybox.net/trunk/busybox@18394 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index 2be13891c..04bf6a5cd 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -502,7 +502,7 @@ int execable_file(const char *name); | |||
502 | char *find_execable(const char *filename); | 502 | char *find_execable(const char *filename); |
503 | int exists_execable(const char *filename); | 503 | int exists_execable(const char *filename); |
504 | 504 | ||
505 | #if ENABLE_FEATURE_EXEC_PREFER_APPLETS | 505 | #if ENABLE_FEATURE_PREFER_APPLETS |
506 | int bb_execvp(const char *file, char *const argv[]); | 506 | int bb_execvp(const char *file, char *const argv[]); |
507 | #define BB_EXECVP(prog,cmd) bb_execvp(prog,cmd) | 507 | #define BB_EXECVP(prog,cmd) bb_execvp(prog,cmd) |
508 | #define BB_EXECLP(prog,cmd,...) \ | 508 | #define BB_EXECLP(prog,cmd,...) \ |
@@ -609,7 +609,8 @@ llist_t *llist_rev(llist_t *list); | |||
609 | int write_pidfile(const char *path); | 609 | int write_pidfile(const char *path); |
610 | #define remove_pidfile(f) ((void)unlink(f)) | 610 | #define remove_pidfile(f) ((void)unlink(f)) |
611 | #else | 611 | #else |
612 | #define write_pidfile(f) TRUE | 612 | /* Why? #defining it to 1 gives "warning: statement with no effect"... */ |
613 | static ATTRIBUTE_ALWAYS_INLINE int write_pidfile(const char *path) { return 1; } | ||
613 | #define remove_pidfile(f) ((void)0) | 614 | #define remove_pidfile(f) ((void)0) |
614 | #endif | 615 | #endif |
615 | 616 | ||