aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-03-15 00:57:01 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-03-15 00:57:01 +0000
commit972288e62fa0798f59caf209ab58c911d289a8b2 (patch)
tree4d11a46c5e62a35d357fce9659577cecec8ea117 /libbb
parentdd2b2f75ae3a826731ae40a79812ebe94c58ac88 (diff)
downloadbusybox-972288e62fa0798f59caf209ab58c911d289a8b2.tar.gz
modify ptr_to_globals trick so that we do not violate
type safety (well, sort of ;))
Diffstat (limited to 'libbb')
-rw-r--r--libbb/messages.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/messages.c b/libbb/messages.c
index 39bb4c95b..1a10a8c9e 100644
--- a/libbb/messages.c
+++ b/libbb/messages.c
@@ -56,4 +56,5 @@ WTMP_FILE;
char bb_common_bufsiz1[BUFSIZ+1];
-void *ptr_to_globals;
+struct globals;
+struct globals *ptr_to_globals;