From b61fd61008fa7f43ce0d3854c8a4844229075d00 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Mon, 25 Sep 2017 20:01:04 +0200 Subject: [PATCH] src: rename epoll-socket.* to sock.* --- src/port.c | 2 +- src/port.h | 2 +- src/{epoll-socket.c => sock.c} | 2 +- src/{epoll-socket.h => sock.h} | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) rename src/{epoll-socket.c => sock.c} (99%) rename src/{epoll-socket.h => sock.h} (93%) diff --git a/src/port.c b/src/port.c index 8ea17bc..acbbb2f 100644 --- a/src/port.c +++ b/src/port.c @@ -2,12 +2,12 @@ #include #include -#include "epoll-socket.h" #include "epoll.h" #include "error.h" #include "poll-group.h" #include "port.h" #include "queue.h" +#include "sock.h" #include "tree.h" #include "util.h" #include "win.h" diff --git a/src/port.h b/src/port.h index ceb759d..ddbbf50 100644 --- a/src/port.h +++ b/src/port.h @@ -2,13 +2,13 @@ #define EPOLL_PORT_DATA_H_ #include "afd.h" -#include "epoll-socket.h" #include "epoll.h" #include "internal.h" #include "poll-group.h" #include "queue.h" #include "rb.h" #include "reflock-tree.h" +#include "sock.h" #include "tree.h" #include "util.h" #include "win.h" diff --git a/src/epoll-socket.c b/src/sock.c similarity index 99% rename from src/epoll-socket.c rename to src/sock.c index 516c4ab..c6dba38 100644 --- a/src/epoll-socket.c +++ b/src/sock.c @@ -4,11 +4,11 @@ #include #include "afd.h" -#include "epoll-socket.h" #include "epoll.h" #include "error.h" #include "poll-group.h" #include "port.h" +#include "sock.h" #define _EP_EVENT_MASK 0xffff diff --git a/src/epoll-socket.h b/src/sock.h similarity index 93% rename from src/epoll-socket.h rename to src/sock.h index ac86f57..514a1e4 100644 --- a/src/epoll-socket.h +++ b/src/sock.h @@ -1,5 +1,5 @@ -#ifndef EPOLL_SOCK_DATA_H_ -#define EPOLL_SOCK_DATA_H_ +#ifndef EPOLL_SOCK_H_ +#define EPOLL_SOCK_H_ #include @@ -36,4 +36,4 @@ EPOLL_INTERNAL int ep_sock_feed_event(ep_port_t* port_info, ep_sock_t* sock_info, struct epoll_event* ev); -#endif /* EPOLL_SOCK_DATA_H_ */ +#endif /* EPOLL_SOCK_H_ */