From: Theodore Tso <tytso@mit.edu>
Date: Tue, 30 Apr 1996 19:03:59 +0000 (+0000)
Subject: Added prototype for getpeername()
X-Git-Tag: krb5-1.0-beta6~173
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=55d6e65d867f8ee1f83bd9b52ed0c4dd6bd976c5;p=krb5.git

Added prototype for getpeername()

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7869 dc483132-0cff-0310-8789-dd5450dbe970
---

diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog
index 5b5fa80f7..e13279264 100644
--- a/src/include/krb5/ChangeLog
+++ b/src/include/krb5/ChangeLog
@@ -1,3 +1,7 @@
+Tue Apr 30 15:03:34 1996  Theodore Y. Ts'o  <tytso@mit.edu>
+
+	* macsock.h: Added prototype for getpeername().
+
 Thu Mar 28 17:57:04 1996  Theodore Y. Ts'o  <tytso@dcl>
 
 	* AddressXlation.h: Updated to use latest versions from the Apple's
diff --git a/src/include/krb5/macsock.h b/src/include/krb5/macsock.h
index d320f2aa6..089a5c213 100644
--- a/src/include/krb5/macsock.h
+++ b/src/include/krb5/macsock.h
@@ -208,6 +208,9 @@ getmyipaddr PROTOTYPE ((void));
 extern int
 getsockname PROTOTYPE((SOCKET, struct sockaddr_in *, int *));
 
+extern int
+getpeername PROTOTYPE((SOCKET, struct sockaddr_in *, int *));
+    
 /* Bypass a few other functions we don't really need. */
 
 #define	getservbyname(name,prot)	0