aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-09-15 01:05:59 +0200
committerKim Alvefur <zash@zash.se>2018-09-15 01:05:59 +0200
commit1ad376770fced834956528b83c20ab2fdfe3e62c (patch)
tree03fb8b979e5ad91669d2df17f37207f04f39fb49 /util-src
parentfd174452eb2fdc268c2aa519a653fc0e93b20482 (diff)
downloadprosody-1ad376770fced834956528b83c20ab2fdfe3e62c.tar.gz
prosody-1ad376770fced834956528b83c20ab2fdfe3e62c.zip
util.poll: Remove 'inline' from function declaration
Why does this fix building?
Diffstat (limited to 'util-src')
-rw-r--r--util-src/poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/poll.c b/util-src/poll.c
index d0894c54..e80850d2 100644
--- a/util-src/poll.c
+++ b/util-src/poll.c
@@ -228,7 +228,7 @@ int Ldel(lua_State *L) {
/*
* Check previously manipulated event state for FDs ready for reading or writing
*/
-inline int Lpushevent(lua_State *L, struct Lpoll_state *state) {
+int Lpushevent(lua_State *L, struct Lpoll_state *state) {
#ifdef USE_EPOLL
if(state->processed > 0) {