[PATCH:libX11 3/3] Remove unused DECnet ("DNETCONN") code from Xlib

Alan Coopersmith alan.coopersmith at oracle.com
Wed Dec 26 23:02:19 PST 2012


Has never been converted to build in modular builds, so has been unusable
since X11R7.0 release in 2005.  DNETCONN support was removed from xtrans
back in 2008.

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 modules/im/ximcp/imTransR.c |    3 ---
 src/xlibi18n/XimTrInt.h     |    2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/modules/im/ximcp/imTransR.c b/modules/im/ximcp/imTransR.c
index 4f843a0..caa5309 100644
--- a/modules/im/ximcp/imTransR.c
+++ b/modules/im/ximcp/imTransR.c
@@ -66,9 +66,6 @@ TransportSW _XimTransportRec[] = {
 #if defined(UNIXCONN) || defined(LOCALCONN)
     { "local",      _XimTransConf }, /* use X transport lib */
 #endif /* UNIXCONN */
-#ifdef DNETCONN
-    { "dnet",     _XimTransConf }, /* use X transport lib */
-#endif /* DNETCONN */
     { (char *)NULL, (Bool (*)(Xim, char *))NULL },
 };
 
diff --git a/src/xlibi18n/XimTrInt.h b/src/xlibi18n/XimTrInt.h
index 7cc9f85..bceab98 100644
--- a/src/xlibi18n/XimTrInt.h
+++ b/src/xlibi18n/XimTrInt.h
@@ -73,7 +73,7 @@ extern Bool	_XimXConf(
     char	*address
 );
 
-#if defined(TCPCONN) || defined(UNIXCONN) || defined(DNETCONN)
+#if defined(TCPCONN) || defined(UNIXCONN)
 
 extern Bool	_XimTransConf(
     Xim		 im,
-- 
1.7.9.2



More information about the xorg-devel mailing list