Move all the existing function pointer casts associated with LHASH's two
[openssl.git] / crypto / conf / cnf_save.c
index efbb61373e0c12243e1fde560a6cf27b739f36fc..1439487526b7b822c14d54117b7ae46fc7b72366 100644 (file)
@@ -59,7 +59,8 @@
 #include <stdio.h>
 #include <openssl/conf.h>
 
-void print_conf(CONF_VALUE *cv);
+static void print_conf(CONF_VALUE *cv);
+static IMPLEMENT_LHASH_DOALL_FN(print_conf, CONF_VALUE *);
 
 main()
        {
@@ -73,11 +74,11 @@ main()
                exit(1);
                }
 
-       lh_doall(conf,(LHASH_DOALL_FN_TYPE)print_conf);
+       lh_doall(conf,LHASH_DOALL_FN(print_conf));
        }
 
 
-void print_conf(CONF_VALUE *cv)
+static void print_conf(CONF_VALUE *cv)
        {
        int i;
        CONF_VALUE *v;