[core] fix dup typedef compiler warning
parent
06d108855d
commit
2728572af3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue