diff --git a/CMakeLists.txt b/CMakeLists.txt index 61404bb..749604e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 2.8.0) -project(epoll) +project(wepoll) if(WIN32) link_libraries(ws2_32) diff --git a/allinone/epoll-all-in-one.c b/allinone/wepoll-all-in-one.c similarity index 100% rename from allinone/epoll-all-in-one.c rename to allinone/wepoll-all-in-one.c diff --git a/include/epoll.h b/include/wepoll.h similarity index 100% rename from include/epoll.h rename to include/wepoll.h diff --git a/src/api.c b/src/api.c index 1791a92..b865ff3 100644 --- a/src/api.c +++ b/src/api.c @@ -2,12 +2,12 @@ #include #include "api.h" -#include "epoll.h" #include "error.h" #include "init.h" #include "port.h" #include "reflock-tree.h" #include "util.h" +#include "wepoll.h" #include "win.h" static reflock_tree_t _epoll_handle_tree; diff --git a/src/port.c b/src/port.c index 5c1a217..38228a5 100644 --- a/src/port.c +++ b/src/port.c @@ -2,7 +2,6 @@ #include #include -#include "epoll.h" #include "error.h" #include "poll-group.h" #include "port.h" @@ -10,6 +9,7 @@ #include "sock.h" #include "tree.h" #include "util.h" +#include "wepoll.h" #include "win.h" #define _PORT_MAX_ON_STACK_COMPLETIONS 256 diff --git a/src/port.h b/src/port.h index ddbbf50..ee96302 100644 --- a/src/port.h +++ b/src/port.h @@ -2,7 +2,6 @@ #define EPOLL_PORT_DATA_H_ #include "afd.h" -#include "epoll.h" #include "internal.h" #include "poll-group.h" #include "queue.h" @@ -11,6 +10,7 @@ #include "sock.h" #include "tree.h" #include "util.h" +#include "wepoll.h" #include "win.h" typedef struct ep_port ep_port_t; diff --git a/src/sock.c b/src/sock.c index 88878ba..319cef5 100644 --- a/src/sock.c +++ b/src/sock.c @@ -4,11 +4,11 @@ #include #include "afd.h" -#include "epoll.h" #include "error.h" #include "poll-group.h" #include "port.h" #include "sock.h" +#include "wepoll.h" #define _EP_EVENT_MASK 0xffff diff --git a/src/sock.h b/src/sock.h index 5f787a2..b98e974 100644 --- a/src/sock.h +++ b/src/sock.h @@ -3,12 +3,12 @@ #include -#include "epoll.h" #include "internal.h" #include "queue.h" #include "rb.h" #include "tree.h" #include "util.h" +#include "wepoll.h" #include "win.h" typedef struct ep_port ep_port_t; diff --git a/test/test-ctl-fuzz.c b/test/test-ctl-fuzz.c index 165cc14..bcf6bb1 100644 --- a/test/test-ctl-fuzz.c +++ b/test/test-ctl-fuzz.c @@ -4,9 +4,9 @@ #include #include -#include "epoll.h" #include "init.h" #include "util.h" +#include "wepoll.h" #include "win.h" #include diff --git a/test/test-multi-poll.c b/test/test-multi-poll.c index 0a6ff72..2a55590 100644 --- a/test/test-multi-poll.c +++ b/test/test-multi-poll.c @@ -3,9 +3,9 @@ #include #include -#include "epoll.h" #include "init.h" #include "util.h" +#include "wepoll.h" #include "win.h" #include diff --git a/test/test-udp-pings.c b/test/test-udp-pings.c index ef001cc..0b76548 100644 --- a/test/test-udp-pings.c +++ b/test/test-udp-pings.c @@ -2,8 +2,8 @@ #include #include -#include "epoll.h" #include "error.h" +#include "wepoll.h" #include "win.h" #define LISTEN_PORT 12345