-- 
Sonny Karlsson
>From 9892649044ac944a6fb42fbfc5ba30eff3456619 Mon Sep 17 00:00:00 2001
From: Sonny Karlsson <[email protected]>
Date: Mon, 13 Aug 2012 20:07:56 +0200
Subject: [PATCH 3/4] epoll: Remove inline from mk_epoll_state_set
 declaration.

Allows calls to function from outside translation unit under C99
inlining rules.

Signed-off-by: Sonny Karlsson <[email protected]>
---
 src/include/mk_epoll.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/mk_epoll.h b/src/include/mk_epoll.h
index 9d99115..e7644ae 100644
--- a/src/include/mk_epoll.h
+++ b/src/include/mk_epoll.h
@@ -90,7 +90,7 @@ int mk_epoll_del(int efd, int fd);
 int mk_epoll_change_mode(int efd, int fd, int mode, int behavior);
 
 /* epoll state handlers */
-inline struct epoll_state *mk_epoll_state_set(int efd, int fd, uint8_t mode,
+struct epoll_state *mk_epoll_state_set(int efd, int fd, uint8_t mode,
                                               uint8_t  behavior,
                                               uint32_t events);
 int mk_epoll_state_init();
-- 
1.7.10.4

_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to