b623a542df
can figure out what header files to include, and override stuff that comes later. But applets shouldn't include platform.h directly, they should include busybox.h or libbb.h. Since busybox.h already includes libbb.h, move libbb.h to the top of busybox.h and platform.h near the top of libbb.h (right after bbconfig.h, which is something platform.h also needs access to). While we're at it, move some stuff from busybox.h to libbb.h so we have one big file to audit/clean up/try to make sense of instead of many. |
||
---|---|---|
.. | ||
applets.h | ||
busybox.h | ||
dump.h | ||
grp_.h | ||
inet_common.h | ||
libbb.h | ||
platform.h | ||
pwd_.h | ||
shadow_.h | ||
unarchive.h | ||
usage.h | ||
xregex.h |