Make DSO opaque.
[openssl.git] / crypto / dso / dso_null.c
index 20122d1cab0a50d6e9026a4574ab36808f275d33..ed8bcd77ef33ceb14820103796fd34446ba9fa47 100644 (file)
@@ -1,4 +1,3 @@
-/* dso_null.c */
 /*
  * Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL project
  * 2000.
@@ -62,9 +61,7 @@
  * appropriate support for "shared-libraries".
  */
 
-#include <stdio.h>
-#include "cryptlib.h"
-#include <openssl/dso.h>
+#include "dso_locl.h"
 
 static DSO_METHOD dso_meth_null = {
     "NULL shared library method",
@@ -72,11 +69,6 @@ static DSO_METHOD dso_meth_null = {
     NULL,                       /* unload */
     NULL,                       /* bind_var */
     NULL,                       /* bind_func */
-/* For now, "unbind" doesn't exist */
-#if 0
-    NULL,                       /* unbind_var */
-    NULL,                       /* unbind_func */
-#endif
     NULL,                       /* ctrl */
     NULL,                       /* dso_name_converter */
     NULL,                       /* dso_merger */
@@ -88,5 +80,5 @@ static DSO_METHOD dso_meth_null = {
 
 DSO_METHOD *DSO_METHOD_null(void)
 {
-    return (&dso_meth_null);
+    return &dso_meth_null;
 }