diff options
author | Ron Yorston <rmy@pobox.com> | 2021-03-24 11:55:30 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-03-24 12:43:15 +0000 |
commit | 355a7a6c1e9626b7afe8758a6095f3cf275c52e1 (patch) | |
tree | 6dab679c15b049cab97212e0b43077132eec1fbe /include/libbb.h | |
parent | 71ecc8033e6989996057b32577e71148fd544596 (diff) | |
parent | 889425812b5cda8b3394d73253cbde7355fb1115 (diff) | |
download | busybox-w32-w32_1_26_2.tar.gz busybox-w32-w32_1_26_2.tar.bz2 busybox-w32-w32_1_26_2.zip |
Merge tag '1_26_2' into w32_1_26_2w32_1_26_2
Diffstat (limited to '')
-rw-r--r-- | include/libbb.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/include/libbb.h b/include/libbb.h index a6de5e97b..0b9cfb585 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -45,7 +45,7 @@ | |||
45 | #include <sys/stat.h> | 45 | #include <sys/stat.h> |
46 | #include <sys/time.h> | 46 | #include <sys/time.h> |
47 | #include <sys/types.h> | 47 | #include <sys/types.h> |
48 | #ifndef major | 48 | #if !defined(major) || defined(__GLIBC__) |
49 | # include <sys/sysmacros.h> | 49 | # include <sys/sysmacros.h> |
50 | #endif | 50 | #endif |
51 | #include <sys/wait.h> | 51 | #include <sys/wait.h> |
@@ -81,8 +81,6 @@ | |||
81 | #if ENABLE_SELINUX | 81 | #if ENABLE_SELINUX |
82 | # include <selinux/selinux.h> | 82 | # include <selinux/selinux.h> |
83 | # include <selinux/context.h> | 83 | # include <selinux/context.h> |
84 | # include <selinux/flask.h> | ||
85 | # include <selinux/av_permissions.h> | ||
86 | #endif | 84 | #endif |
87 | #if ENABLE_FEATURE_UTMP | 85 | #if ENABLE_FEATURE_UTMP |
88 | # if defined __UCLIBC__ && ( \ | 86 | # if defined __UCLIBC__ && ( \ |
@@ -944,6 +942,7 @@ extern const struct suffix_mult bkm_suffixes[]; | |||
944 | #define km_suffixes (bkm_suffixes + 1) | 942 | #define km_suffixes (bkm_suffixes + 1) |
945 | extern const struct suffix_mult cwbkMG_suffixes[]; | 943 | extern const struct suffix_mult cwbkMG_suffixes[]; |
946 | #define kMG_suffixes (cwbkMG_suffixes + 3) | 944 | #define kMG_suffixes (cwbkMG_suffixes + 3) |
945 | extern const struct suffix_mult kmg_i_suffixes[]; | ||
947 | 946 | ||
948 | #include "xatonum.h" | 947 | #include "xatonum.h" |
949 | /* Specialized: */ | 948 | /* Specialized: */ |
@@ -1210,8 +1209,16 @@ int bb_cat(char** argv); | |||
1210 | /* If shell needs them, they exist even if not enabled as applets */ | 1209 | /* If shell needs them, they exist even if not enabled as applets */ |
1211 | int echo_main(int argc, char** argv) IF_ECHO(MAIN_EXTERNALLY_VISIBLE); | 1210 | int echo_main(int argc, char** argv) IF_ECHO(MAIN_EXTERNALLY_VISIBLE); |
1212 | int printf_main(int argc, char **argv) IF_PRINTF(MAIN_EXTERNALLY_VISIBLE); | 1211 | int printf_main(int argc, char **argv) IF_PRINTF(MAIN_EXTERNALLY_VISIBLE); |
1213 | int test_main(int argc, char **argv) IF_TEST(MAIN_EXTERNALLY_VISIBLE); | 1212 | int test_main(int argc, char **argv) |
1214 | int kill_main(int argc, char **argv) IF_KILL(MAIN_EXTERNALLY_VISIBLE); | 1213 | #if ENABLE_TEST || ENABLE_TEST1 || ENABLE_TEST2 |
1214 | MAIN_EXTERNALLY_VISIBLE | ||
1215 | #endif | ||
1216 | ; | ||
1217 | int kill_main(int argc, char **argv) | ||
1218 | #if ENABLE_KILL || ENABLE_KILLALL || ENABLE_KILLALL5 | ||
1219 | MAIN_EXTERNALLY_VISIBLE | ||
1220 | #endif | ||
1221 | ; | ||
1215 | /* Similar, but used by chgrp, not shell */ | 1222 | /* Similar, but used by chgrp, not shell */ |
1216 | int chown_main(int argc, char **argv) IF_CHOWN(MAIN_EXTERNALLY_VISIBLE); | 1223 | int chown_main(int argc, char **argv) IF_CHOWN(MAIN_EXTERNALLY_VISIBLE); |
1217 | /* Used by ftpd */ | 1224 | /* Used by ftpd */ |