summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2017-11-07 08:52:55 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2017-11-07 08:52:55 -0500
commit2728572af3b1f75d38efdcd6fb87a38f1d236c4b (patch)
tree3dc84fef17e13a7921dd3d00547af03533deb5d6
parent06d108855d4d5f308fb8f6434d0db23915f62475 (diff)
downloadlighttpd1.4-2728572af3b1f75d38efdcd6fb87a38f1d236c4b.tar.gz
lighttpd1.4-2728572af3b1f75d38efdcd6fb87a38f1d236c4b.zip
[core] fix dup typedef compiler warning
-rw-r--r--src/fdevent_impl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fdevent_impl.h b/src/fdevent_impl.h
index ce89ea6c..92278e53 100644
--- a/src/fdevent_impl.h
+++ b/src/fdevent_impl.h
@@ -48,6 +48,7 @@ struct ev_loop; /* declaration */
#include "base_decls.h"
#include "settings.h" /* (handler_t) */
+#include "fdevent.h" /* (*fdevent_handler) */
typedef enum {
FDEVENT_HANDLER_UNSET,
@@ -60,8 +61,6 @@ typedef enum {
FDEVENT_HANDLER_LIBEV
} fdevent_handler_t;
-typedef handler_t (*fdevent_handler)(struct server *srv, void *ctx, int revents);
-
typedef struct _fdnode {
fdevent_handler handler;
void *ctx;