Don't include x509.h when we just need asn1.h
[openssl.git] / crypto / asn1 / a_meth.c
index 513625c3054cc39db3eb88b81bfc09ba2250355f..63158e9cab2dbeb2b276bdd0d922b21e064c9e58 100644 (file)
@@ -58,8 +58,8 @@
 
 #include <stdio.h>
 #include "cryptlib.h"
-#include "buffer.h"
-#include "x509.h"
+#include <openssl/buffer.h>
+#include <openssl/asn1.h>
 
 static  ASN1_METHOD ia5string_meth={
        (int (*)())     i2d_ASN1_IA5STRING,
@@ -73,12 +73,12 @@ static  ASN1_METHOD bit_string_meth={
        (char *(*)())   ASN1_STRING_new,
        (void (*)())    ASN1_STRING_free};
 
-ASN1_METHOD *ASN1_IA5STRING_asn1_meth()
+ASN1_METHOD *ASN1_IA5STRING_asn1_meth(void)
        {
        return(&ia5string_meth);
        }
 
-ASN1_METHOD *ASN1_BIT_STRING_asn1_meth()
+ASN1_METHOD *ASN1_BIT_STRING_asn1_meth(void)
        {
        return(&bit_string_meth);
        }