bn_exp.c: fix x86_64-specific crash with one-word modulus.
[oweals/openssl.git] / crypto / conf / cnf_save.c
index da2cb843541fa96a5b1297eca3c2d80f767fd32d..1439487526b7b822c14d54117b7ae46fc7b72366 100644 (file)
  */
 
 #include <stdio.h>
-#include "conf.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,12 +74,11 @@ main()
                exit(1);
                }
 
-       lh_doall(conf,print_conf);
+       lh_doall(conf,LHASH_DOALL_FN(print_conf));
        }
 
 
-void print_conf(cv)
-CONF_VALUE *cv;
+static void print_conf(CONF_VALUE *cv)
        {
        int i;
        CONF_VALUE *v;