X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=libbb%2Fmessages.c;h=12a165ad77bdc07399f027e68c689e6f21815a57;hb=ec1a4b5a521b5adf295bc757c25231910f8c854b;hp=7f23d4b6d97dca13db8000e212c262027741918c;hpb=da799e82274ffa48c5a27c5d034f4f31ba06e29f;p=oweals%2Fbusybox.git diff --git a/libbb/messages.c b/libbb/messages.c index 7f23d4b6d..12a165ad7 100644 --- a/libbb/messages.c +++ b/libbb/messages.c @@ -56,4 +56,6 @@ WTMP_FILE; char bb_common_bufsiz1[BUFSIZ+1]; -void *global_ptr; +struct globals; +/* Make it reside in R/W memory: */ +struct globals *const ptr_to_globals __attribute__ ((section (".data")));