From 012a5b1377cac9a68444cfca65b49871b75f68b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Wed, 19 Jun 2013 18:51:12 +0200 Subject: [PATCH] move iomux_impl.h to src/ dir, it's an implementation detail --- src/iomux_epoll.c | 2 +- src/iomux_impl.c | 2 +- {include/ucore => src}/iomux_impl.h | 4 ++-- src/iomux_select.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) rename {include/ucore => src}/iomux_impl.h (96%) diff --git a/src/iomux_epoll.c b/src/iomux_epoll.c index 21c8898..22f964b 100644 --- a/src/iomux_epoll.c +++ b/src/iomux_epoll.c @@ -4,7 +4,7 @@ #include #include #include -#include "ucore/iomux_impl.h" +#include "iomux_impl.h" //epoll (linux specific) IO mux. //We stuff the struct IOMuxFD pointer in the event.data.ptr slot diff --git a/src/iomux_impl.c b/src/iomux_impl.c index 2e47b31..f94e0c9 100644 --- a/src/iomux_impl.c +++ b/src/iomux_impl.c @@ -2,8 +2,8 @@ #include #include #include -#include #include "ucore/clock.h" +#include "iomux_impl.h" //dispatchers for the IOMux implementations */ diff --git a/include/ucore/iomux_impl.h b/src/iomux_impl.h similarity index 96% rename from include/ucore/iomux_impl.h rename to src/iomux_impl.h index 4770810..6c5484a 100644 --- a/include/ucore/iomux_impl.h +++ b/src/iomux_impl.h @@ -1,8 +1,8 @@ #ifndef IO_MUX_IMPL_H_ #define IO_MUX_IMPL_H_ -#include "iomux.h" -#include "timers.h" +#include "ucore/iomux.h" +#include "ucore/timers.h" /** struct for IOMux implementations */ struct IOMux { diff --git a/src/iomux_select.c b/src/iomux_select.c index ebad214..8b67414 100644 --- a/src/iomux_select.c +++ b/src/iomux_select.c @@ -5,8 +5,8 @@ #include #include #include -#include "ucore/iomux_impl.h" #include "ucore/utils.h" +#include "iomux_impl.h" #define IOMUX_GROW_CHUNK (32)