From: Dr. Stephen Henson Date: Wed, 13 Mar 2002 13:58:33 +0000 (+0000) Subject: Undo previous patch: avoid warnings by #undef'ing X-Git-Tag: OpenSSL_0_9_7-beta1~153 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f2cbb1546809a47cba6578d6de6becec9d3c8a11;p=oweals%2Fopenssl.git Undo previous patch: avoid warnings by #undef'ing duplicate definitions. Suggested by "Kenneth R. Robinette" --- diff --git a/ssl/kssl.c b/ssl/kssl.c index a3a0596bfd..dc54035d2f 100644 --- a/ssl/kssl.c +++ b/ssl/kssl.c @@ -129,17 +129,20 @@ #define krb5_timeofday kssl_krb5_timeofday #define krb5_rc_default kssl_krb5_rc_default -#ifndef krb5_rc_initialize -#define krb5_rc_initialize kssl_krb5_rc_initialize +#ifdef krb5_rc_initialize +#undef krb5_rc_initialize #endif +#define krb5_rc_initialize kssl_krb5_rc_initialize -#ifndef krb5_rc_get_lifespan -#define krb5_rc_get_lifespan kssl_krb5_rc_get_lifespan +#ifdef krb5_rc_get_lifespan +#undef krb5_rc_get_lifespan #endif +#define krb5_rc_get_lifespan kssl_krb5_rc_get_lifespan -#ifndef krb5_rc_destroy -#define krb5_rc_destroy kssl_krb5_rc_destroy +#ifdef krb5_rc_destroy +#undef krb5_rc_destroy #endif +#define krb5_rc_destroy kssl_krb5_rc_destroy #define valid_cksumtype kssl_valid_cksumtype #define krb5_checksum_size kssl_krb5_checksum_size