summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));
+}