aboutsummaryrefslogtreecommitdiff
path: root/crypto/idea/idea.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/idea/idea.h')
-rw-r--r--crypto/idea/idea.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/idea/idea.h b/crypto/idea/idea.h
index ae32f56..f5efeae 100644
--- a/crypto/idea/idea.h
+++ b/crypto/idea/idea.h
@@ -59,10 +59,6 @@
#ifndef HEADER_IDEA_H
#define HEADER_IDEA_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#ifdef NO_IDEA
#error IDEA is disabled.
#endif
@@ -74,6 +70,10 @@ extern "C" {
#define IDEA_BLOCK 8
#define IDEA_KEY_LENGTH 16
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct idea_key_st
{
IDEA_INT data[9][6];