From 2e874c75d1b6c898eb9aa2a2f68ddb0ede1937e4 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sat, 6 Oct 2001 03:27:33 +0000 Subject: [PATCH] KRB5_EXPORTVAR is defined lots of places but never used; delete it git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13787 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/ChangeLog | 6 ++++++ src/include/k5-int.h | 1 - src/include/kerberosIV/ChangeLog | 4 ++++ src/include/kerberosIV/des.h | 1 - src/include/krb5.hin | 1 - src/include/win-mac.h | 1 - src/lib/gssapi/generic/ChangeLog | 2 ++ src/lib/gssapi/generic/gssapi.hin | 1 - src/util/et/ChangeLog | 2 ++ src/util/et/com_err.h | 5 ----- src/util/profile/ChangeLog | 2 ++ src/util/profile/profile.hin | 1 - 12 files changed, 16 insertions(+), 11 deletions(-) diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 1fc8004ea..fd0bd1467 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,9 @@ +2001-10-05 Ken Raeburn + + * k5-int.h (KRB5_EXPORTVAR): Don't define. + * krb5.hin (KRB5_EXPORTVAR): Don't define. + * win-mac.h (KRB5_EXPORTVAR): Don't define. + 2001-10-03 Ken Raeburn * k5-int.h, krb5.hin, win-mac.h: Don't use or define KRB5_DLLIMP, diff --git a/src/include/k5-int.h b/src/include/k5-int.h index f890242d8..1edd2a135 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -159,7 +159,6 @@ typedef unsigned char u_char; #ifndef KRB5_CALLCONV #define KRB5_CALLCONV #define KRB5_CALLCONV_C -#define KRB5_EXPORTVAR #endif #ifndef O_BINARY #define O_BINARY 0 diff --git a/src/include/kerberosIV/ChangeLog b/src/include/kerberosIV/ChangeLog index 32ced421a..505a5f1b9 100644 --- a/src/include/kerberosIV/ChangeLog +++ b/src/include/kerberosIV/ChangeLog @@ -1,3 +1,7 @@ +2001-10-05 Ken Raeburn + + * des.h (KRB5_EXPORTVAR): Don't define. + 2001-10-03 Ken Raeburn * des.h, krb.h: Don't use or define KRB5_DLLIMP, GSS_DLLIMP. Drop diff --git a/src/include/kerberosIV/des.h b/src/include/kerberosIV/des.h index c021db369..8ec32da2e 100644 --- a/src/include/kerberosIV/des.h +++ b/src/include/kerberosIV/des.h @@ -49,7 +49,6 @@ #ifndef KRB5_CALLCONV #define KRB5_CALLCONV #define KRB5_CALLCONV_C -#define KRB5_EXPORTVAR #endif #ifndef KRB4_32 diff --git a/src/include/krb5.hin b/src/include/krb5.hin index 3003513b6..6d96a0d7b 100644 --- a/src/include/krb5.hin +++ b/src/include/krb5.hin @@ -72,7 +72,6 @@ #ifndef KRB5_CALLCONV #define KRB5_CALLCONV #define KRB5_CALLCONV_C -#define KRB5_EXPORTVAR #endif /* !KRB5_CALLCONV */ #endif /* !KRB5_CONFIG__ */ diff --git a/src/include/win-mac.h b/src/include/win-mac.h index 60039d8f7..0e46f1060 100644 --- a/src/include/win-mac.h +++ b/src/include/win-mac.h @@ -36,7 +36,6 @@ #ifndef KRB5_CALLCONV # define KRB5_CALLCONV __stdcall # define KRB5_CALLCONV_C __cdecl -# define KRB5_EXPORTVAR #endif /* !KRB5_CALLCONV */ #ifndef KRB5_SYSTYPES__ diff --git a/src/lib/gssapi/generic/ChangeLog b/src/lib/gssapi/generic/ChangeLog index dea0573a6..92e17dcee 100644 --- a/src/lib/gssapi/generic/ChangeLog +++ b/src/lib/gssapi/generic/ChangeLog @@ -7,6 +7,8 @@ GSS_C_NT_STRING_UID_NAME, GSS_C_NT_HOSTBASED_SERVICE_X, GSS_C_NT_HOSTBASED_SERVICE, GSS_C_NT_ANONYMOUS, GSS_C_NT_EXPORT_NAME): Use GSS_DLLIMP. + (KRB5_EXPORTVAR): Don't define. + * gssapi_generic.h (gss_nt_user_name, gss_nt_machine_uid_name, gss_nt_string_uid_name, gss_nt_service_name): Use GSS_DLLIMP. * gssapi_generic.c (gss_nt_user_name, gss_nt_machine_uid_name, diff --git a/src/lib/gssapi/generic/gssapi.hin b/src/lib/gssapi/generic/gssapi.hin index 3cdf19528..80f7c45ef 100644 --- a/src/lib/gssapi/generic/gssapi.hin +++ b/src/lib/gssapi/generic/gssapi.hin @@ -39,7 +39,6 @@ #ifndef KRB5_CALLCONV #define KRB5_CALLCONV #define KRB5_CALLCONV_C -#define KRB5_EXPORTVAR #endif #define GSS_SIZEOF_INT SIZEOF_INT diff --git a/src/util/et/ChangeLog b/src/util/et/ChangeLog index 74f19b1d9..7e27e5689 100644 --- a/src/util/et/ChangeLog +++ b/src/util/et/ChangeLog @@ -1,5 +1,7 @@ 2001-10-05 Ken Raeburn + * com_err.h (KRB5_EXPORTVAR): Don't define. + * com_err.c, com_err.h, compile_et.c, error_message.c, error_table.h, et_c.awk, et_c.perl, et_h.awk, et_h.awk, et_h.perl, etN-ame.c, init_et.c, internal.h, vfprintf.c: Drop NEAR/FAR diff --git a/src/util/et/com_err.h b/src/util/et/com_err.h index 547601a69..c56fad2b1 100644 --- a/src/util/et/com_err.h +++ b/src/util/et/com_err.h @@ -19,11 +19,6 @@ #ifndef KRB5_CALLCONV #define KRB5_CALLCONV #define KRB5_CALLCONV_C -/* We don't use this, but since we're using the Kerberos ones, we - need to either provide all the ones the Kerberos headers - will use, or not define KRB5_CALLCONV, since that's the only one - they test. */ -#define KRB5_EXPORTVAR #endif #include diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog index 0b77845bf..25a73a841 100644 --- a/src/util/profile/ChangeLog +++ b/src/util/profile/ChangeLog @@ -1,5 +1,7 @@ 2001-10-05 Ken Raeburn + * profile.hin (KRB5_EXPORTVAR): Don't define. + * prof_file.c, prof_int.h, prof_parse.c, profile.hin, test_profile.c: Drop _MSDOS support. diff --git a/src/util/profile/profile.hin b/src/util/profile/profile.hin index 592bc4887..418696141 100644 --- a/src/util/profile/profile.hin +++ b/src/util/profile/profile.hin @@ -12,7 +12,6 @@ #ifndef KRB5_CALLCONV #define KRB5_CALLCONV #define KRB5_CALLCONV_C -#define KRB5_EXPORTVAR #endif typedef struct _profile_t *profile_t; -- 2.26.2