summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:46 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:46 +0000
commit72e353567f8927996a26e72848d86f692c3f0737 (patch)
treeb8a8241378b752cbc7ef7041ac8100fedc7239c4 /src/globals.h
parentee452992357329f7af846eba8f5bbe61c5d27bfa (diff)
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/globals.h b/src/globals.h
index 6bffe7c..129bf00 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -26,6 +26,7 @@ in this Software without prior written authorization from The Open Group.
Author: Ralph Mor, X Consortium
******************************************************************************/
+/* $XFree86: xc/lib/ICE/globals.h,v 1.5 2002/05/31 18:45:41 dawes Exp $ */
extern void _IceDefaultErrorHandler ();
extern void _IceDefaultIOErrorHandler ();
@@ -35,11 +36,17 @@ extern IcePaAuthStatus _IcePaMagicCookie1Proc ();
extern void _IceProcessCoreMessage ();
+#ifndef __UNIXOS2__
IceConn _IceConnectionObjs[256];
char *_IceConnectionStrings[256];
+_IceProtocol _IceProtocols[255];
+#else
+IceConn _IceConnectionObjs[256] = {0};
+char *_IceConnectionStrings[256] = {0};
+_IceProtocol _IceProtocols[255] = {0};
+#endif
int _IceConnectionCount = 0;
-_IceProtocol _IceProtocols[255];
int _IceLastMajorOpcode = 0;
int _IceAuthCount = 1;