replace sys/queue with cork_dllist

This commit is contained in:
Max Lv
2014-11-12 14:52:06 +08:00
parent b198d1da2e
commit 6118fefd04
2 changed files with 16 additions and 11 deletions
+3 -2
View File
@@ -23,8 +23,9 @@
#ifndef _LOCAL_H
#define _LOCAL_H
#include <sys/queue.h>
#include <ev.h>
#include <libcork/ds.h>
#include "encrypt.h"
#include "jconf.h"
@@ -60,7 +61,7 @@ struct server {
struct listen_ctx *listener;
struct remote *remote;
TAILQ_ENTRY(server) entries;
struct cork_dllist_item entries;
};
struct remote_ctx {