summaryrefslogtreecommitdiff
path: root/crypto/obj/obj.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/obj/obj.c')
-rw-r--r--crypto/obj/obj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/obj/obj.c b/crypto/obj/obj.c
index 6bbac92..bfcc08b 100644
--- a/crypto/obj/obj.c
+++ b/crypto/obj/obj.c
@@ -66,7 +66,7 @@
#include <openssl/mem.h>
#include <openssl/thread.h>
-#include <openssl/obj_dat.h>
+#include "obj_dat.h"
/* These globals are protected by CRYPTO_LOCK_OBJ. */
static LHASH_OF(ASN1_OBJECT) *global_added_by_data = NULL;
@@ -76,7 +76,7 @@ static LHASH_OF(ASN1_OBJECT) *global_added_by_long_name = NULL;
static unsigned global_next_nid = NUM_NID;
-static int obj_next_nid() {
+static int obj_next_nid(void) {
int ret;
CRYPTO_w_lock(CRYPTO_LOCK_OBJ);