summaryrefslogtreecommitdiff
path: root/libbb/messages.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-03-15 00:57:01 +0000
committerDenis Vlasenko2007-03-15 00:57:01 +0000
commit972288e62fa0798f59caf209ab58c911d289a8b2 (patch)
tree4d11a46c5e62a35d357fce9659577cecec8ea117 /libbb/messages.c
parentdd2b2f75ae3a826731ae40a79812ebe94c58ac88 (diff)
downloadbusybox-972288e62fa0798f59caf209ab58c911d289a8b2.zip
busybox-972288e62fa0798f59caf209ab58c911d289a8b2.tar.gz
modify ptr_to_globals trick so that we do not violate
type safety (well, sort of ;))
Diffstat (limited to 'libbb/messages.c')
-rw-r--r--libbb/messages.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/messages.c b/libbb/messages.c
index 39bb4c9..1a10a8c 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;