* g_pw_tkt.c, unix_time.c: Add KRB5_DLLIMP/KRB5_CALLCONV defintion
authorEzra Peisach <epeisach@mit.edu>
Fri, 21 Jul 2000 16:33:47 +0000 (16:33 +0000)
committerEzra Peisach <epeisach@mit.edu>
Fri, 21 Jul 2000 16:33:47 +0000 (16:33 +0000)
To be compatible with krb.h changes for windows.

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

src/lib/krb4/ChangeLog
src/lib/krb4/g_pw_tkt.c
src/lib/krb4/unix_time.c

index 65719dedd5ac9cc44c8fda71ab3fd73becabd50a..499e501f74c3931c2880172937793759dcff3af2 100644 (file)
@@ -1,3 +1,21 @@
+2000-07-21  Ezra Peisach  <epeisach@mit.edu>
+
+       * g_pw_tkt.c, unix_time.c: Add KRB5_DLLIMP/KRB5_CALLCONV defintion.
+
+Thu Jun 29 17:13:53 2000  Ezra Peisach  <epeisach@home>
+
+       * getst.c: Include <unistd.h> for read() prototype.
+
+       * gethostname.c: Include <unistd.h> (if present) for gethostname()
+       prototype.
+
+       * g_pw_tkt.c (get_pw_tkt): Declare function returning as int.
+
+       * g_ad_tkt.c, g_in_tkt.c, g_tkt_svc: Add parenthesis about
+       assignment used as truth value.
+
+       * cr_ciph.c (create_ciph): Declare as returning int.
+
 2000-07-20  Danilo Almeida  <dalmeida@mit.edu>
 
        * memcache.c: Add krb_in_tkt() function to initialize ticket for a
index faacab9d0bf9820db8bd7db6b364c45ef12f865a..b6d00769a9affde827d635c3c3113ab72804a754 100644 (file)
@@ -41,6 +41,7 @@
  * the password-changing server will be in the user's ticket file.
  */
 
+KRB5_DLLIMP int KRB5_CALLCONV
 get_pw_tkt(user,instance,realm,cpw)
     char *user;
     char *instance;
index 736f496083cbff701a6ae961fb9b9ffa285b6454..b47793ac938827cfe9212729c95c848c5068bf79 100644 (file)
@@ -13,7 +13,7 @@
 /* Time handling.  Translate Unix time calls into Kerberos cnternal 
    procedure calls.  See ../../include/cc-unix.h.  */
 
-unsigned KRB4_32
+KRB5_DLLIMP unsigned KRB4_32 KRB5_CALLCONV
 unix_time_gmt_unixsec (usecptr)
        unsigned KRB4_32        *usecptr;
 {