From 0285706b4f2025153748ac0aebb580703ae8125e Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Thu, 6 Mar 2003 20:21:26 +0000 Subject: * gss_libinit.c: Removed Mac header goober. Fixed USE_HARDCODED_FALLBACK_ERROR_TABLES macro used by KfM. * gss_libinit.h: do not use the same multiple include protection macro as krb5_libinit.h. Changed to GSSAPI_LIBINIT_H git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15251 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/gss_libinit.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/lib/gssapi/gss_libinit.c') diff --git a/src/lib/gssapi/gss_libinit.c b/src/lib/gssapi/gss_libinit.c index c8fbf22f50..51d2cb154f 100644 --- a/src/lib/gssapi/gss_libinit.c +++ b/src/lib/gssapi/gss_libinit.c @@ -1,10 +1,5 @@ #include -#if TARGET_OS_MAC -/* Mac OS X com_err files do not include com_err for you */ -#include -#endif - #include "gssapi_err_generic.h" #include "gssapi_err_krb5.h" #include "gssapiP_krb5.h" @@ -44,8 +39,10 @@ void gssint_cleanup_library (void) (void) kg_release_defcred (&min_stat); +#if !TARGET_OS_MAC || USE_HARDCODED_FALLBACK_ERROR_TABLES remove_error_table(&et_k5g_error_table); remove_error_table(&et_ggss_error_table); +#endif initialized = 0; } -- cgit