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 /libbb/messages.c | |
parent | dd2b2f75ae3a826731ae40a79812ebe94c58ac88 (diff) |
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.c | 3 |
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; |