Sort openssl.ec, the configuration file for mkerr.pl.
[openssl.git] / crypto / conf / cnf_save.c
index 632d17e..1439487 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,11 +74,11 @@ main()
                exit(1);
                }
 
-       lh_doall(conf,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;