diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-03-15 00:57:01 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-03-15 00:57:01 +0000 |
commit | 972288e62fa0798f59caf209ab58c911d289a8b2 (patch) | |
tree | 4d11a46c5e62a35d357fce9659577cecec8ea117 /include | |
parent | dd2b2f75ae3a826731ae40a79812ebe94c58ac88 (diff) | |
download | busybox-972288e62fa0798f59caf209ab58c911d289a8b2.tar.gz |
modify ptr_to_globals trick so that we do not violate
type safety (well, sort of ;))
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 9ea9f5ae6..9a6966dbd 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -806,6 +806,10 @@ extern const int const_int_1; #define BUFSIZ 4096 #endif extern char bb_common_bufsiz1[BUFSIZ+1]; +/* This struct is deliberately not defined. */ +/* See docs/keep_data_small.txt */ +struct globals; +extern struct globals *ptr_to_globals; /* You can change LIBBB_DEFAULT_LOGIN_SHELL, but don't use it, * use bb_default_login_shell and following defines. |