aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/libbb.h17
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)
945extern const struct suffix_mult cwbkMG_suffixes[]; 943extern const struct suffix_mult cwbkMG_suffixes[];
946#define kMG_suffixes (cwbkMG_suffixes + 3) 944#define kMG_suffixes (cwbkMG_suffixes + 3)
945extern 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 */
1211int echo_main(int argc, char** argv) IF_ECHO(MAIN_EXTERNALLY_VISIBLE); 1210int echo_main(int argc, char** argv) IF_ECHO(MAIN_EXTERNALLY_VISIBLE);
1212int printf_main(int argc, char **argv) IF_PRINTF(MAIN_EXTERNALLY_VISIBLE); 1211int printf_main(int argc, char **argv) IF_PRINTF(MAIN_EXTERNALLY_VISIBLE);
1213int test_main(int argc, char **argv) IF_TEST(MAIN_EXTERNALLY_VISIBLE); 1212int test_main(int argc, char **argv)
1214int 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;
1217int 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 */
1216int chown_main(int argc, char **argv) IF_CHOWN(MAIN_EXTERNALLY_VISIBLE); 1223int chown_main(int argc, char **argv) IF_CHOWN(MAIN_EXTERNALLY_VISIBLE);
1217/* Used by ftpd */ 1224/* Used by ftpd */