diff options
Diffstat (limited to 'src/lib/krb5/os')
-rw-r--r-- | src/lib/krb5/os/ChangeLog | 7 | ||||
-rw-r--r-- | src/lib/krb5/os/accessor.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/os/ccdefname.c | 4 | ||||
-rw-r--r-- | src/lib/krb5/os/changepw.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/os/def_realm.c | 6 | ||||
-rw-r--r-- | src/lib/krb5/os/free_hstrl.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/os/genaddrs.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/os/hst_realm.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/os/init_os_ctx.c | 6 | ||||
-rw-r--r-- | src/lib/krb5/os/ktdefname.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/os/localaddr.c | 4 | ||||
-rw-r--r-- | src/lib/krb5/os/prompter.c | 7 | ||||
-rw-r--r-- | src/lib/krb5/os/read_pwd.c | 4 | ||||
-rw-r--r-- | src/lib/krb5/os/realm_dom.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/os/realm_iter.c | 8 | ||||
-rw-r--r-- | src/lib/krb5/os/sn2princ.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/os/timeofday.c | 2 | ||||
-rw-r--r-- | src/lib/krb5/os/ustime.c | 2 |
18 files changed, 36 insertions, 30 deletions
diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 09d59fb..67afe32 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,10 @@ +2001-10-03 Ken Raeburn <raeburn@mit.edu> + + * accessor.c, ccdefname.c, changepw.c, def_realm.c, free_hstrl.c, + genaddrs.c, hst_realm.c, init_os_ctx.c, ktdefname.c, localaddr.c, + prompter.c, realm_dom.c, realm_iter.c, sn2princ.c, timeofday.c, + ustime.c: Don't use KRB5_DLLIMP. + 2001-09-29 Ken Raeburn <raeburn@mit.edu> * locate_kdc.c (add_host_to_list): If address family in sockaddr diff --git a/src/lib/krb5/os/accessor.c b/src/lib/krb5/os/accessor.c index bcf89a7..64fd508 100644 --- a/src/lib/krb5/os/accessor.c +++ b/src/lib/krb5/os/accessor.c @@ -29,7 +29,7 @@ #include "k5-int.h" #include "os-proto.h" -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5int_accessor(internals, version) krb5int_access* internals; krb5_int32 version; diff --git a/src/lib/krb5/os/ccdefname.c b/src/lib/krb5/os/ccdefname.c index 0c18a1e..4ed147d 100644 --- a/src/lib/krb5/os/ccdefname.c +++ b/src/lib/krb5/os/ccdefname.c @@ -230,7 +230,7 @@ static krb5_error_code get_from_os(char *name_buf, int name_size) #endif #endif -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_cc_set_default_name(context, name) krb5_context context; const char *name; @@ -276,7 +276,7 @@ krb5_cc_set_default_name(context, name) } -KRB5_DLLIMP const char FAR * KRB5_CALLCONV +const char FAR * KRB5_CALLCONV krb5_cc_default_name(context) krb5_context context; { diff --git a/src/lib/krb5/os/changepw.c b/src/lib/krb5/os/changepw.c index 8672784..88d50cc 100644 --- a/src/lib/krb5/os/changepw.c +++ b/src/lib/krb5/os/changepw.c @@ -85,7 +85,7 @@ krb5_locate_kpasswd(krb5_context context, const krb5_data *realm, } -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_change_password(context, creds, newpw, result_code, result_code_string, result_string) krb5_context context; diff --git a/src/lib/krb5/os/def_realm.c b/src/lib/krb5/os/def_realm.c index 82ef8ac..38889f5 100644 --- a/src/lib/krb5/os/def_realm.c +++ b/src/lib/krb5/os/def_realm.c @@ -68,7 +68,7 @@ * the default local realm name. */ -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_get_default_realm(context, lrealm) krb5_context context; char FAR * FAR *lrealm; @@ -179,7 +179,7 @@ krb5_get_default_realm(context, lrealm) return(0); } -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_set_default_realm(context, lrealm) krb5_context context; const char *lrealm; @@ -206,7 +206,7 @@ krb5_set_default_realm(context, lrealm) } -KRB5_DLLIMP void KRB5_CALLCONV +void KRB5_CALLCONV krb5_free_default_realm(context, lrealm) krb5_context context; char FAR* lrealm; diff --git a/src/lib/krb5/os/free_hstrl.c b/src/lib/krb5/os/free_hstrl.c index ceaca06..3e5b869 100644 --- a/src/lib/krb5/os/free_hstrl.c +++ b/src/lib/krb5/os/free_hstrl.c @@ -34,7 +34,7 @@ Frees the storage taken by a realm list returned by krb5_get_host_realm. */ -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_free_host_realm(context, realmlist) krb5_context context; char FAR * const FAR *realmlist; diff --git a/src/lib/krb5/os/genaddrs.c b/src/lib/krb5/os/genaddrs.c index 961e79b..efd5762 100644 --- a/src/lib/krb5/os/genaddrs.c +++ b/src/lib/krb5/os/genaddrs.c @@ -80,7 +80,7 @@ static void *cvtaddr (struct sockaddr_storage *a, struct addrpair *ap) } } -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_auth_con_genaddrs(context, auth_context, infd, flags) krb5_context context; krb5_auth_context auth_context; diff --git a/src/lib/krb5/os/hst_realm.c b/src/lib/krb5/os/hst_realm.c index 9ac5e0b..a44c67d 100644 --- a/src/lib/krb5/os/hst_realm.c +++ b/src/lib/krb5/os/hst_realm.c @@ -232,7 +232,7 @@ krb5_try_realm_txt_rr(prefix, name, realm) #endif /* KRB5_DNS_LOOKUP */ -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_get_host_realm(context, host, realmsp) krb5_context context; const char FAR *host; diff --git a/src/lib/krb5/os/init_os_ctx.c b/src/lib/krb5/os/init_os_ctx.c index 1f43061..c43d1a4 100644 --- a/src/lib/krb5/os/init_os_ctx.c +++ b/src/lib/krb5/os/init_os_ctx.c @@ -502,7 +502,7 @@ krb5_os_init_context(ctx) return retval; } -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_get_profile (ctx, profile) krb5_context ctx; profile_t* profile; @@ -552,7 +552,7 @@ krb5_set_config_files(ctx, filenames) return 0; } -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_get_default_config_files(pfilenames) char ***pfilenames; { @@ -561,7 +561,7 @@ krb5_get_default_config_files(pfilenames) return os_get_default_config_files(pfilenames, FALSE); } -KRB5_DLLIMP void KRB5_CALLCONV +void KRB5_CALLCONV krb5_free_config_files(filenames) char **filenames; { diff --git a/src/lib/krb5/os/ktdefname.c b/src/lib/krb5/os/ktdefname.c index ec3b0bb..e2bca91 100644 --- a/src/lib/krb5/os/ktdefname.c +++ b/src/lib/krb5/os/ktdefname.c @@ -36,7 +36,7 @@ extern char *krb5_defkeyname; /* this is a an exceedinly gross thing. */ char *krb5_overridekeyname = NULL; -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_kt_default_name(context, name, namesize) krb5_context context; char FAR *name; diff --git a/src/lib/krb5/os/localaddr.c b/src/lib/krb5/os/localaddr.c index 743a807..d254c61 100644 --- a/src/lib/krb5/os/localaddr.c +++ b/src/lib/krb5/os/localaddr.c @@ -906,7 +906,7 @@ krb5_os_localaddr_profile (krb5_context context, struct localaddr_data *datap) return 0; } -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_os_localaddr(context, addr) krb5_context context; krb5_address FAR * FAR * FAR *addr; @@ -1059,7 +1059,7 @@ static struct hostent *local_addr_fallback_kludge() /* No ioctls in winsock so we just assume there is only one networking * card per machine, so gethostent is good enough. */ -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_os_localaddr (krb5_context context, krb5_address ***addr) { char host[64]; /* Name of local machine */ struct hostent *hostrec; diff --git a/src/lib/krb5/os/prompter.c b/src/lib/krb5/os/prompter.c index 2078d1e..87f0171 100644 --- a/src/lib/krb5/os/prompter.c +++ b/src/lib/krb5/os/prompter.c @@ -22,7 +22,7 @@ intr_routine(signo) /*NOTREACHED*/ } -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_prompter_posix(krb5_context context, void *data, const char *name, @@ -137,7 +137,7 @@ cleanup: #include <io.h> -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_prompter_posix(krb5_context context, void *data, const char *name, @@ -229,7 +229,7 @@ krb5_prompter_posix(krb5_context context, #else /* !_WIN32 */ -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_prompter_posix(krb5_context context, void *data, const char *name, @@ -250,7 +250,6 @@ krb5int_set_prompt_types(context, types) context->prompt_types = types; } -KRB5_DLLIMP krb5_prompt_type* KRB5_CALLCONV krb5_get_prompt_types(context) diff --git a/src/lib/krb5/os/read_pwd.c b/src/lib/krb5/os/read_pwd.c index 776ae85..62c7283 100644 --- a/src/lib/krb5/os/read_pwd.c +++ b/src/lib/krb5/os/read_pwd.c @@ -322,7 +322,7 @@ read_pwd_proc(HWND hdlg, UINT msg, WPARAM wParam, LPARAM lParam) } } -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_read_password(context, prompt, prompt2, return_pwd, size_return) krb5_context context; const char *prompt; @@ -366,7 +366,7 @@ krb5_read_password(context, prompt, prompt2, return_pwd, size_return) /* * Don't expect to be called, just define it for sanity and the linker. */ -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_read_password(context, prompt, prompt2, return_pwd, size_return) krb5_context context; const char *prompt; diff --git a/src/lib/krb5/os/realm_dom.c b/src/lib/krb5/os/realm_dom.c index 6afad2d..2300e15 100644 --- a/src/lib/krb5/os/realm_dom.c +++ b/src/lib/krb5/os/realm_dom.c @@ -45,7 +45,7 @@ #include <ctype.h> #include <stdio.h> -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_get_realm_domain(context, realm, domain) krb5_context context; const char *realm; diff --git a/src/lib/krb5/os/realm_iter.c b/src/lib/krb5/os/realm_iter.c index 2e32760..82d9733 100644 --- a/src/lib/krb5/os/realm_iter.c +++ b/src/lib/krb5/os/realm_iter.c @@ -30,7 +30,7 @@ #include <ctype.h> #include <stdio.h> -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_realm_iterator_create(context, iter_p) krb5_context context; void **iter_p; @@ -43,7 +43,7 @@ krb5_realm_iterator_create(context, iter_p) iter_p); } -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_realm_iterator(context, iter_p, ret_realm) krb5_context context; void **iter_p; @@ -52,7 +52,7 @@ krb5_realm_iterator(context, iter_p, ret_realm) return profile_iterator(iter_p, ret_realm, 0); } -KRB5_DLLIMP void KRB5_CALLCONV +void KRB5_CALLCONV krb5_realm_iterator_free(context, iter_p) krb5_context context; void **iter_p; @@ -60,7 +60,7 @@ krb5_realm_iterator_free(context, iter_p) profile_iterator_free(iter_p); } -KRB5_DLLIMP void KRB5_CALLCONV +void KRB5_CALLCONV krb5_free_realm_string(context, str) krb5_context context; char *str; diff --git a/src/lib/krb5/os/sn2princ.c b/src/lib/krb5/os/sn2princ.c index 94acc20..a4e1c20 100644 --- a/src/lib/krb5/os/sn2princ.c +++ b/src/lib/krb5/os/sn2princ.c @@ -35,7 +35,7 @@ #include <sys/param.h> #endif -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_sname_to_principal(context, hostname, sname, type, ret_princ) krb5_context context; const char FAR * hostname; diff --git a/src/lib/krb5/os/timeofday.c b/src/lib/krb5/os/timeofday.c index 11dffd7..dccfcff 100644 --- a/src/lib/krb5/os/timeofday.c +++ b/src/lib/krb5/os/timeofday.c @@ -36,7 +36,7 @@ extern int errno; #endif -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_timeofday(context, timeret) krb5_context context; register krb5_int32 FAR *timeret; diff --git a/src/lib/krb5/os/ustime.c b/src/lib/krb5/os/ustime.c index ed60714..18b3d4f 100644 --- a/src/lib/krb5/os/ustime.c +++ b/src/lib/krb5/os/ustime.c @@ -33,7 +33,7 @@ #include "k5-int.h" -KRB5_DLLIMP krb5_error_code KRB5_CALLCONV +krb5_error_code KRB5_CALLCONV krb5_us_timeofday(context, seconds, microseconds) krb5_context context; krb5_int32 FAR *seconds; |