diff options
-rw-r--r-- | include/X11/ICE/ICElib.h | 3 | ||||
-rw-r--r-- | src/misc.c | 12 |
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 @@ -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)); +} |