ecore: Fix warnings when epoll is disabled

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61283
This commit is contained in:
Mike McCormack 2011-07-12 11:56:45 +00:00 committed by Mike McCormack
parent c64f48b32a
commit 540bf3368f
1 changed files with 5 additions and 3 deletions

View File

@ -85,19 +85,21 @@ struct epoll_event {
};
static inline int
epoll_create(int size)
epoll_create(int size __UNUSED__)
{
return -1;
}
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;
}
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;
}