util.poll: Remove 'inline' from function declaration
authorKim Alvefur <zash@zash.se>
Sat, 15 Sep 2018 01:05:59 +0200
changeset 9320 d8496858c809
parent 9319 4aa522b9e1c4
child 9321 3429006518bf
util.poll: Remove 'inline' from function declaration Why does this fix building?
util-src/poll.c
--- 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) {