forked from enlightenment/efl
ecore: Fix warnings when epoll is disabled
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61283
This commit is contained in:
parent
c64f48b32a
commit
540bf3368f
|
@ -85,19 +85,21 @@ struct epoll_event {
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline int
|
static inline int
|
||||||
epoll_create(int size)
|
epoll_create(int size __UNUSED__)
|
||||||
{
|
{
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int
|
static inline int
|
||||||
epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout)
|
epoll_wait(int epfd __UNUSED__, struct epoll_event *events __UNUSED__,
|
||||||
|
int maxevents __UNUSED__, int timeout __UNUSED__)
|
||||||
{
|
{
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int
|
static inline int
|
||||||
epoll_ctl(int epfd, int op, int fd, struct epoll_event *event)
|
epoll_ctl(int epfd __UNUSED__, int op __UNUSED__, int fd __UNUSED__,
|
||||||
|
struct epoll_event *event __UNUSED__)
|
||||||
{
|
{
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue