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 f3b7c41db91298aaef3ac6c6d09a38a944d954fd..0fc1f421e28dc3819a3631aabbfd086d7e9814ce 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 e93db4f0c1490d8846966ae91beb189960661e58..e33861f864ae0feca4e6b33c723d50a97fad7902 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 8d86ce20bf34e40f51910d8ddc426f06e3594c25..5f10c0826d9243a442d6a19d68ddc3e874360581 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);
        }