diff --git a/src/lua_rds.c b/src/lua_rds.c index bfc5769..aee4874 100644 --- a/src/lua_rds.c +++ b/src/lua_rds.c @@ -304,7 +304,7 @@ int lua_rds2_group(RDSGroup* group, int stream) { return 1; } -oid lua_call_function(const char* function) { +void lua_call_function(const char* function) { int need_lock = (pthread_mutex_trylock(&lua_mutex) == 0); if (!need_lock) { fprintf(stderr, "Warning: lua_mutex already locked when calling %s\n", function);