diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 90fb0ad91..d68519dfa 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -804,7 +804,10 @@ extern char bb_common_bufsiz1[BUFSIZ+1]; | |||
804 | /* This struct is deliberately not defined. */ | 804 | /* This struct is deliberately not defined. */ |
805 | /* See docs/keep_data_small.txt */ | 805 | /* See docs/keep_data_small.txt */ |
806 | struct globals; | 806 | struct globals; |
807 | extern struct globals *ptr_to_globals; | 807 | /* Magic prevents this from going into rodata */ |
808 | /* If you want to assign a value, use PTR_TO_GLOBALS = xxx */ | ||
809 | extern struct globals *const ptr_to_globals; | ||
810 | #define PTR_TO_GLOBALS (*(struct globals**)&ptr_to_globals) | ||
808 | 811 | ||
809 | /* You can change LIBBB_DEFAULT_LOGIN_SHELL, but don't use it, | 812 | /* You can change LIBBB_DEFAULT_LOGIN_SHELL, but don't use it, |
810 | * use bb_default_login_shell and following defines. | 813 | * use bb_default_login_shell and following defines. |