aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/poll.c
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
commitafea46904dc04f7e2cf2c0274a6079c219bab873 (patch)
tree03fb8b979e5ad91669d2df17f37207f04f39fb49 /util-src/poll.c
parent0b1a99c72c2e8150360a5218f05f640dd39aecf0 (diff)
downloadprosody-afea46904dc04f7e2cf2c0274a6079c219bab873.tar.gz
prosody-afea46904dc04f7e2cf2c0274a6079c219bab873.zip
util.poll: Remove 'inline' from function declaration
Why does this fix building?
Diffstat (limited to 'util-src/poll.c')
-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) {