From 4cbd659505f2acafe2645c59532e52d4cfa00e1d Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 26 Dec 2012 23:42:30 -0800 Subject: Remove unused TLI ("STREAMSCONN") code from libSM Has never been converted to build in modular builds, so has been unusable since X11R7.0 release in 2005. All known platforms with TLI/XTI support that X11R7 & later releases run on also have (and mostly prefer) BSD socket support for their networking API. Signed-off-by: Alan Coopersmith --- src/sm_genid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sm_genid.c b/src/sm_genid.c index c6731d8..ef7acae 100644 --- a/src/sm_genid.c +++ b/src/sm_genid.c @@ -70,7 +70,7 @@ in this Software without prior written authorization from The Open Group. #ifndef WIN32 -# if defined(TCPCONN) || defined(STREAMSCONN) +# ifdef TCPCONN # include # include # include @@ -139,7 +139,7 @@ SmsGenerateClientID(SmsConn smsConn) return id; #else -# if defined(TCPCONN) || defined(STREAMSCONN) +# ifdef TCPCONN static const char hex[] = "0123456789abcdef"; char hostname[256]; char address[64], *addr_ptr = address; -- cgit v1.2.3