summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2005-01-28 19:15:39 +0000
committerDaniel Stone <daniel@fooishbar.org>2005-01-28 19:15:39 +0000
commitd1cfe2a6d4a392f64b6b9d9255ec329fb2a6a39a (patch)
treee4bb338fcce91a403d7ba6565c4fb06db2a649f3
parent8f0babf8450aa8097e063e13c95b1581843b2dd8 (diff)
soversion to 6.4 accordingly. Change SM's use to the public version. The old version will be retained for compatibility.
-rw-r--r--include/X11/ICE/ICElib.h3
-rw-r--r--src/misc.c12
2 files changed, 11 insertions, 4 deletions
diff --git a/include/X11/ICE/ICElib.h b/include/X11/ICE/ICElib.h
index 200cd19..eb7a3aa 100644
--- a/include/X11/ICE/ICElib.h
+++ b/include/X11/ICE/ICElib.h
@@ -408,6 +408,9 @@ extern IceIOErrorHandler IceSetIOErrorHandler (
IceIOErrorHandler /* handler */
);
+extern char *IceGetPeerName (
+ IceConn /* iceConn */
+);
/*
* Multithread Routines
diff --git a/src/misc.c b/src/misc.c
index e174b60..0ed9bc3 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -614,10 +614,14 @@ int myOpcode;
char *
-_IceGetPeerName (iceConn)
-
-IceConn iceConn;
-
+IceGetPeerName (IceConn iceConn)
{
return (_IceTransGetPeerNetworkId (iceConn->trans_conn));
}
+
+
+char *
+_IceGetPeerName (IceConn iceConn)
+{
+ return (IceGetPeerName(iceConn));
+}