From b0dc680f71db4f79c01b41975f869f7346542098 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sun, 3 Dec 2000 10:04:22 +0000 Subject: [PATCH] Fix warnings. --- apps/ca.c | 8 ++++---- apps/openssl.c | 4 ++-- ssl/kssl.c | 8 +++++++- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/apps/ca.c b/apps/ca.c index 2e8593468a..3f855a1565 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -215,10 +215,10 @@ static char *section=NULL; static int preserve=0; static int msie_hack=0; -static IMPLEMENT_LHASH_HASH_FN(index_serial_hash,const char **); -static IMPLEMENT_LHASH_COMP_FN(index_serial_cmp,const char **); -static IMPLEMENT_LHASH_HASH_FN(index_name_hash,const char **); -static IMPLEMENT_LHASH_COMP_FN(index_name_cmp,const char **); +static IMPLEMENT_LHASH_HASH_FN(index_serial_hash,const char **) +static IMPLEMENT_LHASH_COMP_FN(index_serial_cmp,const char **) +static IMPLEMENT_LHASH_HASH_FN(index_name_hash,const char **) +static IMPLEMENT_LHASH_COMP_FN(index_name_cmp,const char **) int MAIN(int, char **); diff --git a/apps/openssl.c b/apps/openssl.c index 49d0b2bd1f..b7e50c7374 100644 --- a/apps/openssl.c +++ b/apps/openssl.c @@ -85,8 +85,8 @@ char *default_config_file=NULL; BIO *bio_err=NULL; #endif -static IMPLEMENT_LHASH_HASH_FN(hash,FUNCTION *); -static IMPLEMENT_LHASH_COMP_FN(cmp,FUNCTION *); +static IMPLEMENT_LHASH_HASH_FN(hash,FUNCTION *) +static IMPLEMENT_LHASH_COMP_FN(cmp,FUNCTION *) int main(int Argc, char *Argv[]) { diff --git a/ssl/kssl.c b/ssl/kssl.c index 012f7a1247..fe7f4ebe5e 100644 --- a/ssl/kssl.c +++ b/ssl/kssl.c @@ -1030,5 +1030,11 @@ void kssl_krb5_free_data_contents(krb5_context context, krb5_data *data) #endif } -#endif /* NO_KRB5 */ +#else /* !NO_KRB5 */ + +#ifdef PEDANTIC +static int dummy=(int)&dummy; +#endif + +#endif /* !NO_KRB5 */ -- 2.25.1