From 866eedb93652b809adc3c81cefaebb63c5ad9044 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lutz=20J=C3=A4nicke?= Date: Tue, 29 Jan 2002 17:14:50 +0000 Subject: [PATCH] Shut up compiler warnings for inconsistent declarations. --- crypto/asn1/tasn_dec.c | 2 +- crypto/asn1/tasn_new.c | 2 +- crypto/engine/hw_ncipher.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crypto/asn1/tasn_dec.c b/crypto/asn1/tasn_dec.c index f3b7c41db9..0fc1f421e2 100644 --- a/crypto/asn1/tasn_dec.c +++ b/crypto/asn1/tasn_dec.c @@ -415,7 +415,7 @@ int ASN1_item_ex_d2i(ASN1_VALUE **pval, unsigned char **in, long len, const ASN1 * rest. */ -int asn1_template_ex_d2i(ASN1_VALUE **val, unsigned char **in, long inlen, const ASN1_TEMPLATE *tt, char opt, ASN1_TLC *ctx) +static int asn1_template_ex_d2i(ASN1_VALUE **val, unsigned char **in, long inlen, const ASN1_TEMPLATE *tt, char opt, ASN1_TLC *ctx) { int flags, aclass; int ret; diff --git a/crypto/asn1/tasn_new.c b/crypto/asn1/tasn_new.c index e93db4f0c1..e33861f864 100644 --- a/crypto/asn1/tasn_new.c +++ b/crypto/asn1/tasn_new.c @@ -276,7 +276,7 @@ int ASN1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) return ret; } -void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) +static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) { /* If ADB or STACK just NULL the field */ if(tt->flags & (ASN1_TFLG_ADB_MASK|ASN1_TFLG_SK_MASK)) diff --git a/crypto/engine/hw_ncipher.c b/crypto/engine/hw_ncipher.c index 8d86ce20bf..5f10c0826d 100644 --- a/crypto/engine/hw_ncipher.c +++ b/crypto/engine/hw_ncipher.c @@ -1222,7 +1222,7 @@ static int hwcrhk_mutex_lock(HWCryptoHook_Mutex *mt) return 0; } -void hwcrhk_mutex_unlock(HWCryptoHook_Mutex * mt) +static void hwcrhk_mutex_unlock(HWCryptoHook_Mutex * mt) { CRYPTO_w_unlock(mt->lockid); } -- 2.25.1