ecore: Fix warnings when epoll is disabled
authormike_m <mike_m@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 12 Jul 2011 11:56:45 +0000 (11:56 +0000)
committermike_m <mike_m@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 12 Jul 2011 11:56:45 +0000 (11:56 +0000)
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61283 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore/ecore_main.c

index 00f70a2..8d9fda8 100644 (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;
 }