aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/daemon.h')
-rw-r--r--src/charon/daemon.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/charon/daemon.h b/src/charon/daemon.h
index 295f21061..5b3349829 100644
--- a/src/charon/daemon.h
+++ b/src/charon/daemon.h
@@ -25,6 +25,8 @@
#ifndef DAEMON_H_
#define DAEMON_H_
+typedef struct daemon_t daemon_t;
+
#include <threads/sender.h>
#include <threads/receiver.h>
#include <threads/scheduler.h>
@@ -272,14 +274,11 @@
*/
#define SECRETS_FILE CONFIG_DIR "/ipsec.secrets"
-
-typedef struct daemon_t daemon_t;
-
/**
* @brief Main class of daemon, contains some globals.
- *
+ *
* @ingroup charon
- */
+ */
struct daemon_t {
/**
* A socket_t instance.