Browse Source

[core] fix dup typedef compiler warning

personal/stbuehler/1.4.48-mod-proxy-fix
Glenn Strauss 4 years ago
parent
commit
2728572af3
  1. 3
      src/fdevent_impl.h

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

Loading…
Cancel
Save