Shut up compiler warnings for inconsistent declarations.
authorLutz Jänicke <jaenicke@openssl.org>
Tue, 29 Jan 2002 17:14:50 +0000 (17:14 +0000)
committerLutz Jänicke <jaenicke@openssl.org>
Tue, 29 Jan 2002 17:14:50 +0000 (17:14 +0000)
crypto/asn1/tasn_dec.c
crypto/asn1/tasn_new.c
crypto/engine/hw_ncipher.c

index f3b7c41..0fc1f42 100644 (file)
@@ -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;
index e93db4f..e33861f 100644 (file)
@@ -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)) 
index 8d86ce2..5f10c08 100644 (file)
@@ -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);
        }