aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2019-03-31 08:55:48 +0100
committerRon Yorston <rmy@pobox.com>2019-03-31 09:51:00 +0100
commit61e0e3160a8be3ed8488b09200a5dca1bd1b21b4 (patch)
treed55341d875d1dd0d77445960723a47418efd14e5 /include
parentbe2949717934c19890879cf2a8fc74c5da55d1c7 (diff)
parent35082fc2c17369223669e099f422acc0982ee4ff (diff)
downloadbusybox-w32-61e0e3160a8be3ed8488b09200a5dca1bd1b21b4.tar.gz
busybox-w32-61e0e3160a8be3ed8488b09200a5dca1bd1b21b4.tar.bz2
busybox-w32-61e0e3160a8be3ed8488b09200a5dca1bd1b21b4.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index b9852345f..05a0c575c 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1341,9 +1341,13 @@ llist_t *llist_find_str(llist_t *first, const char *str) FAST_FUNC;
1341/* True only if we created pidfile which is *file*, not /dev/null etc */ 1341/* True only if we created pidfile which is *file*, not /dev/null etc */
1342extern smallint wrote_pidfile; 1342extern smallint wrote_pidfile;
1343void write_pidfile(const char *path) FAST_FUNC; 1343void write_pidfile(const char *path) FAST_FUNC;
1344void write_pidfile_std_path_and_ext(const char *path) FAST_FUNC;
1345void remove_pidfile_std_path_and_ext(const char *path) FAST_FUNC;
1344#define remove_pidfile(path) do { if (wrote_pidfile) unlink(path); } while (0) 1346#define remove_pidfile(path) do { if (wrote_pidfile) unlink(path); } while (0)
1345#else 1347#else
1346enum { wrote_pidfile = 0 }; 1348enum { wrote_pidfile = 0 };
1349#define write_pidfile_std_path_and_ext(path) ((void)0)
1350#define remove_pidfile_std_path_and_ext(path) ((void)0)
1347#define write_pidfile(path) ((void)0) 1351#define write_pidfile(path) ((void)0)
1348#define remove_pidfile(path) ((void)0) 1352#define remove_pidfile(path) ((void)0)
1349#endif 1353#endif
@@ -1386,7 +1390,7 @@ void bb_logenv_override(void) FAST_FUNC;
1386 1390
1387/* Embedded script support */ 1391/* Embedded script support */
1388char *get_script_content(unsigned n) FAST_FUNC; 1392char *get_script_content(unsigned n) FAST_FUNC;
1389int scripted_main(int argc, char** argv); 1393int scripted_main(int argc, char** argv) MAIN_EXTERNALLY_VISIBLE;
1390 1394
1391/* Applets which are useful from another applets */ 1395/* Applets which are useful from another applets */
1392int bb_cat(char** argv) FAST_FUNC; 1396int bb_cat(char** argv) FAST_FUNC;