summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nDPIsrvd.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/nDPIsrvd.c b/nDPIsrvd.c
index 26543b7dd..7d5eb5062 100644
--- a/nDPIsrvd.c
+++ b/nDPIsrvd.c
@@ -17,12 +17,6 @@
#include "config.h"
#include "utils.h"
-enum ev_type
-{
- JSON_SOCK,
- SERV_SOCK
-};
-
struct io_buffer
{
uint8_t * ptr;
@@ -32,7 +26,7 @@ struct io_buffer
struct remote_desc
{
- enum ev_type type;
+ enum { JSON_SOCK, SERV_SOCK } type;
int fd;
struct io_buffer buf;
union {