summaryrefslogtreecommitdiff
path: root/src/sm_manager.c
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-09-15 16:33:18 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-09-15 16:33:18 +0000
commit8e23f7a29fe6a0cb49e92e947c93aaebf37abe6e (patch)
treecbd84338c44cafee421ed21e22620723cb2faffd /src/sm_manager.c
parent7e5650376f71e6aa323f2c0e0d5d8d38fd1bfa7b (diff)
Diffstat (limited to 'src/sm_manager.c')
-rw-r--r--src/sm_manager.c6
1 files changed, 4 insertions, 2 deletions
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 <X11/SM/SMlib.h>
#include "SMlibint.h"
-#include <X11/Xtrans.h>
#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));
}