diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-11-02 21:56:10 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-11-02 21:56:16 -0800 |
commit | 294f05abe020ec4fa3044d4520d657c7c123656b (patch) | |
tree | a1623a7cb33b7e727e4ae8688cb17c3c40f9efca | |
parent | 0936b5dde64d5afc4dd94d5af08633cf5a1e89fb (diff) |
Re-export globals mistakenly made static by c9ad299
These must be visible to lbxproxy
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-rw-r--r-- | src/lbx_zlib/lbx_zlib.c | 12 | ||||
-rw-r--r-- | src/lbx_zlib/lbx_zlib.h | 8 |
2 files changed, 14 insertions, 6 deletions
diff --git a/src/lbx_zlib/lbx_zlib.c b/src/lbx_zlib/lbx_zlib.c index ed7e74a..4de41ba 100644 --- a/src/lbx_zlib/lbx_zlib.c +++ b/src/lbx_zlib/lbx_zlib.c @@ -68,12 +68,12 @@ from The Open Group. #include "lbx_zlib.h" #include <X11/extensions/lbxzlib.h> -static unsigned long stream_out_compressed = 0; -static unsigned long stream_out_uncompressed = 0; -static unsigned long stream_out_plain = 0; -static unsigned long stream_in_compressed = 0; -static unsigned long stream_in_uncompressed = 0; -static unsigned long stream_in_plain=0; +unsigned long stream_out_compressed = 0; +unsigned long stream_out_uncompressed = 0; +unsigned long stream_out_plain = 0; +unsigned long stream_in_compressed = 0; +unsigned long stream_in_uncompressed = 0; +unsigned long stream_in_plain = 0; #ifdef LBXREQSTATS unsigned long stream_in_packet_header_bytes = 0; extern int LbxWhoAmI; diff --git a/src/lbx_zlib/lbx_zlib.h b/src/lbx_zlib/lbx_zlib.h index 68b94f8..8ae8956 100644 --- a/src/lbx_zlib/lbx_zlib.h +++ b/src/lbx_zlib/lbx_zlib.h @@ -134,3 +134,11 @@ extern pointer Xcalloc(unsigned long /*amount*/); extern pointer Xrealloc(pointer /*ptr*/, unsigned long /*amount*/); extern void Xfree(pointer /*ptr*/); #endif + +/* lbx_zlib.c */ +unsigned long stream_out_compressed; +unsigned long stream_out_uncompressed; +unsigned long stream_out_plain; +unsigned long stream_in_compressed; +unsigned long stream_in_uncompressed; +unsigned long stream_in_plain; |