[core] fix dup typedef compiler warning

personal/stbuehler/1.4.48-mod-proxy-fix
Glenn Strauss 2017-11-07 08:52:55 -05:00
parent 06d108855d
commit 2728572af3
1 changed files with 1 additions and 2 deletions

View File

@ -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;