summaryrefslogtreecommitdiff
path: root/modules/im/ximcp/imTransR.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:20 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:20 +0000
commit917de4a98eeb9a7eafeab7ddd8e1b1ae6aae6514 (patch)
treee79f892e8545c72ddbe15d679315143e5672175d /modules/im/ximcp/imTransR.c
parentdeae12c6b683898f5213992d561a59d4ea889cca (diff)
XFree86 4.3.0.1PRE_xf86-4_3_0_1
Diffstat (limited to 'modules/im/ximcp/imTransR.c')
-rw-r--r--modules/im/ximcp/imTransR.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/modules/im/ximcp/imTransR.c b/modules/im/ximcp/imTransR.c
index 01681bf..016c5e4 100644
--- a/modules/im/ximcp/imTransR.c
+++ b/modules/im/ximcp/imTransR.c
@@ -28,6 +28,7 @@ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
fujiwara@a80.tech.yk.fujitsu.co.jp
******************************************************************/
+/* $XFree86: xc/lib/X11/imTransR.c,v 3.4 2001/01/17 19:41:52 dawes Exp $ */
#include "Xlibint.h"
#include "Xlcint.h"
@@ -35,21 +36,21 @@ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "Ximint.h"
Public TransportSW _XimTransportRec[] = {
- "X", _XimXConf, /* 1st entry must be X.
+ { "X", _XimXConf }, /* 1st entry must be X.
This will be a fallback */
#ifdef TCPCONN
- "tcp", _XimTransConf, /* use X transport lib */
+ { "tcp", _XimTransConf }, /* use X transport lib */
#endif /* TCPCONN */
-#ifdef UNIXCONN
- "local", _XimTransConf, /* use X transport lib */
+#if defined(UNIXCONN) || defined(LOCALCONN)
+ { "local", _XimTransConf }, /* use X transport lib */
#endif /* UNIXCONN */
#ifdef DNETCONN
- "dnet", _XimTransConf, /* use X transport lib */
+ { "dnet", _XimTransConf }, /* use X transport lib */
#endif /* DNETCONN */
#ifdef STREAMSCONN
- "streams", _XimTransConf, /* use X transport lib */
+ { "streams", _XimTransConf }, /* use X transport lib */
#endif /* STREAMSCONN */
- (char *)NULL, (Bool (*)())NULL,
+ { (char *)NULL, (Bool (*)())NULL },
};
Public Bool