Mercurial > prosody-hg
diff util-src/poll.c @ 9317:d8496858c809
util.poll: Remove 'inline' from function declaration
Why does this fix building?
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 15 Sep 2018 01:05:59 +0200 |
| parents | b95ef295c66d |
| children | 3429006518bf |
line wrap: on
line diff
--- a/util-src/poll.c Sat Sep 15 01:01:04 2018 +0200 +++ b/util-src/poll.c Sat Sep 15 01:05:59 2018 +0200 @@ -228,7 +228,7 @@ /* * 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) {
