summaryrefslogtreecommitdiffstats
path: root/crypto/txt_db
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-05-02 12:16:01 +0000
committerRichard Levitte <levitte@openssl.org>2000-05-02 12:16:01 +0000
commit82271cee5b6369c263213845f8a81be40d5d5585 (patch)
tree43a5b74770b864de29034a7954b98703b103b920 /crypto/txt_db
parent22a415478fa196d08a33a3be3f2e20a49b2ef43a (diff)
In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,
"Jan Mikkelsen" <janm@transactionsite.com> correctly states that the OpenSSL header files have #include's and extern "C"'s in an incorrect order. Thusly fixed.
Diffstat (limited to 'crypto/txt_db')
-rw-r--r--crypto/txt_db/txt_db.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/txt_db/txt_db.h b/crypto/txt_db/txt_db.h
index 58b9de1353..22a54f06ee 100644
--- a/crypto/txt_db/txt_db.h
+++ b/crypto/txt_db/txt_db.h
@@ -59,10 +59,6 @@
#ifndef HEADER_TXT_DB_H
#define HEADER_TXT_DB_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include <openssl/stack.h>
#include <openssl/lhash.h>
@@ -73,6 +69,10 @@ extern "C" {
#define DB_ERROR_NO_INDEX 4
#define DB_ERROR_INSERT_INDEX_CLASH 5
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct txt_db_st
{
int num_fields;