From: Ezra Peisach Date: Fri, 21 Jul 2000 16:33:47 +0000 (+0000) Subject: * g_pw_tkt.c, unix_time.c: Add KRB5_DLLIMP/KRB5_CALLCONV defintion X-Git-Tag: krb5-1.3-alpha1~1961 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=859e1b736d1fac9f119beb1e3a6abae34a35166c;p=krb5.git * g_pw_tkt.c, unix_time.c: Add KRB5_DLLIMP/KRB5_CALLCONV defintion To be compatible with krb.h changes for windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12579 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index 65719dedd..499e501f7 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -1,3 +1,21 @@ +2000-07-21 Ezra Peisach + + * g_pw_tkt.c, unix_time.c: Add KRB5_DLLIMP/KRB5_CALLCONV defintion. + +Thu Jun 29 17:13:53 2000 Ezra Peisach + + * getst.c: Include for read() prototype. + + * gethostname.c: Include (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 * memcache.c: Add krb_in_tkt() function to initialize ticket for a diff --git a/src/lib/krb4/g_pw_tkt.c b/src/lib/krb4/g_pw_tkt.c index faacab9d0..b6d00769a 100644 --- a/src/lib/krb4/g_pw_tkt.c +++ b/src/lib/krb4/g_pw_tkt.c @@ -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; diff --git a/src/lib/krb4/unix_time.c b/src/lib/krb4/unix_time.c index 736f49608..b47793ac9 100644 --- a/src/lib/krb4/unix_time.c +++ b/src/lib/krb4/unix_time.c @@ -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; {