If we are using prototypes, add a forward declaration for struct
authorTheodore Tso <tytso@mit.edu>
Mon, 20 Oct 1997 18:17:24 +0000 (18:17 +0000)
committerTheodore Tso <tytso@mit.edu>
Mon, 20 Oct 1997 18:17:24 +0000 (18:17 +0000)
sockaddr_in.

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

src/include/kerberosIV/ChangeLog
src/include/kerberosIV/krb.h

index ad87af8961129c68216b228f89263ef30bf0cc0f..62a967a4a34ff369bd7adff86168022c561a2e6f 100644 (file)
@@ -1,3 +1,8 @@
+Mon Oct 20 14:09:45 1997  Theodore Y. Ts'o  <tytso@mit.edu>
+
+       * krb.h: If we are using prototypes, add a forward declaration for
+               struct sockaddr_in.
+
 Tue Oct 14 15:39:28 1997  Tom Yu  <tlyu@voltage-multiplier.mit.edu>
 
        * des.h: Define KRB_INT32 for the purposes of dealing with the key
index ffe887931dc605a77e219beb97e94537f07beb92..ea0cd8b98c2a884c339633147c165389219dd041 100644 (file)
@@ -445,6 +445,10 @@ typedef int (KRB5_CALLCONV *decrypt_tkt_type)
  * Function Prototypes for Kerberos V4.
  */
 
+#if (defined(__STDC__) || defined(_WINDOWS)) && !defined(KRB5_NO_PROTOTYPES)
+struct sockaddr_in;
+#endif
+
 /* dest_tkt.c */
 KRB5_DLLIMP int KRB5_CALLCONV dest_tkt
        PROTOTYPE((void));