diff options
| author | Ezra Peisach <epeisach@mit.edu> | 2000-07-21 16:33:47 +0000 |
|---|---|---|
| committer | Ezra Peisach <epeisach@mit.edu> | 2000-07-21 16:33:47 +0000 |
| commit | 859e1b736d1fac9f119beb1e3a6abae34a35166c (patch) | |
| tree | a49f3423deadb99915b0b29ff7699de79db9e6c5 /src/lib | |
| parent | 88613108dd20f9cf106c86a0bff7d6749b1f6324 (diff) | |
| download | krb5-859e1b736d1fac9f119beb1e3a6abae34a35166c.tar.gz krb5-859e1b736d1fac9f119beb1e3a6abae34a35166c.tar.xz krb5-859e1b736d1fac9f119beb1e3a6abae34a35166c.zip | |
* 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
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/krb4/ChangeLog | 18 | ||||
| -rw-r--r-- | src/lib/krb4/g_pw_tkt.c | 1 | ||||
| -rw-r--r-- | src/lib/krb4/unix_time.c | 2 |
3 files changed, 20 insertions, 1 deletions
diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index 65719dedd5..499e501f74 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -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 diff --git a/src/lib/krb4/g_pw_tkt.c b/src/lib/krb4/g_pw_tkt.c index faacab9d0b..b6d00769a9 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 736f496083..b47793ac93 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; { |
