From 8e23f7a29fe6a0cb49e92e947c93aaebf37abe6e Mon Sep 17 00:00:00 2001 From: Alexander Gottwald Date: Wed, 15 Sep 2004 16:33:18 +0000 Subject: Pull XORG-6_8_0 to CYGWIN branch --- src/sm_genid.c | 1 - src/sm_manager.c | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/sm_genid.c b/src/sm_genid.c index 67b3317..171e762 100644 --- a/src/sm_genid.c +++ b/src/sm_genid.c @@ -36,7 +36,6 @@ in this Software without prior written authorization from The Open Group. #endif #include #include "SMlibint.h" -#include #ifdef XTHREADS #include #endif diff --git a/src/sm_manager.c b/src/sm_manager.c index 5c7cc55..2c49c65 100644 --- a/src/sm_manager.c +++ b/src/sm_manager.c @@ -32,7 +32,6 @@ in this Software without prior written authorization from The Open Group. #include #include "SMlibint.h" -#include #ifdef __USLC__ #undef shutdown @@ -166,13 +165,16 @@ char **failureReasonRet; +/* Using private API from libICE. */ +extern char *_IceGetPeerName (IceConn /* iceConn */); + char * SmsClientHostName (smsConn) SmsConn smsConn; { - return (_IceTransGetPeerNetworkId (smsConn->iceConn->trans_conn)); + return (_IceGetPeerName (smsConn->iceConn)); } -- cgit v1.2.3