aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/encoding/message.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/encoding/message.h')
-rw-r--r--src/charon/encoding/message.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/charon/encoding/message.h b/src/charon/encoding/message.h
index 3b91e8e94..8b7e3c7cd 100644
--- a/src/charon/encoding/message.h
+++ b/src/charon/encoding/message.h
@@ -25,6 +25,8 @@
#ifndef MESSAGE_H_
#define MESSAGE_H_
+typedef struct message_t message_t;
+
#include <types.h>
#include <sa/ike_sa_id.h>
#include <network/packet.h>
@@ -39,9 +41,6 @@
*/
#define MESSAGE_PRINTF_SPEC 'M'
-
-typedef struct message_t message_t;
-
/**
* @brief This class is used to represent an IKEv2-Message.
*