aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/queues/event_queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/queues/event_queue.c')
-rw-r--r--Source/charon/queues/event_queue.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/Source/charon/queues/event_queue.c b/Source/charon/queues/event_queue.c
index ab2680c31..20802d3e8 100644
--- a/Source/charon/queues/event_queue.c
+++ b/Source/charon/queues/event_queue.c
@@ -31,15 +31,15 @@
+typedef struct event_t event_t;
+
/**
* @brief Represents an event as it is stored in the event queue.
*
* A event consists of a event time and an assigned job object.
*
*/
-typedef struct event_s event_t;
-
-struct event_s{
+struct event_t{
/**
* Time to fire the event.
*/
@@ -95,14 +95,13 @@ static event_t *event_create(timeval_t time, job_t *job)
}
+typedef struct private_event_queue_t private_event_queue_t;
+
/**
* @brief Private Variables and Functions of event_queue_t class.
*
*/
-typedef struct private_event_queue_s private_event_queue_t;
-
-
-struct private_event_queue_s {
+struct private_event_queue_t {
/**
* Public part.
*/