From 540bf3368f2bd0ac9d12700a8633cb1d53f7e79c Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Tue, 12 Jul 2011 11:56:45 +0000 Subject: [PATCH] ecore: Fix warnings when epoll is disabled Signed-off-by: Mike McCormack SVN revision: 61283 --- legacy/ecore/src/lib/ecore/ecore_main.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/legacy/ecore/src/lib/ecore/ecore_main.c b/legacy/ecore/src/lib/ecore/ecore_main.c index 00f70a2060..8d9fda88d1 100644 --- a/legacy/ecore/src/lib/ecore/ecore_main.c +++ b/legacy/ecore/src/lib/ecore/ecore_main.c @@ -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; }