summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2011-12-20 04:08:35 +0000
committerroot <root>2011-12-20 04:08:35 +0000
commit5bc953f2f1fab0fcf0791c8cc1a399301a5ceb93 (patch)
tree99ab1593c7d60216d73061f257d9c135e2daf6ae /ev.c
parent4e06171156c4d47330d6ae736e0a5b193fb83f89 (diff)
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ev.c b/ev.c
index f941452..ad3b2e4 100644
--- a/ev.c
+++ b/ev.c
@@ -1195,11 +1195,11 @@ typedef struct
#include "ev_wrap.h"
static struct ev_loop default_loop_struct;
- struct ev_loop *ev_default_loop_ptr;
+ EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialised to make it a defintiino despite extern */
#else
- ev_tstamp ev_rt_now;
+ EV_API_DECL ev_tstamp ev_rt_now = 0; /* needs to be initialised to make it a defintiino despite extern */
#define VAR(name,decl) static decl;
#include "ev_vars.h"
#undef VAR