2
0
Fork 0

cleanup base.h

This commit is contained in:
Stefan Bühler 2013-05-17 14:40:43 +02:00
parent 20a63070e2
commit a12d550557
1 changed files with 0 additions and 19 deletions

View File

@ -5,27 +5,8 @@
#error Do not mix lighty with angel code
#endif
#define STRINGIFY(s) #s
#include <lighttpd/settings.h>
/* Next try to fix strict-alias warning */
#undef ev_init
#define ev_init(ev,cb_) do { \
ev_watcher *ew = (ev_watcher *)(void *)ev; \
(ew)->active = \
(ew)->pending = \
(ew)->priority = 0; \
ev_set_cb ((ev), cb_); \
} while (0)
#undef ev_timer_set
#define ev_timer_set(ev,after_,repeat_) do { \
ev_watcher_time *ew = (ev_watcher_time *)(ev); \
ew->at = (after_); \
(ev)->repeat = (repeat_); \
} while (0)
#include <lighttpd/typedefs.h>
#include <lighttpd/module.h>