From 3c70c015b44d4ab2cf5740df3828c14648e4ea27 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 11 Mar 2019 11:47:01 +0000 Subject: [PATCH] [Minor] Fix forwarded declarations Issue: #2707 Closes: #2707 --- src/lua/lua_dns_resolver.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lua/lua_dns_resolver.h b/src/lua/lua_dns_resolver.h index f5c71aa0b..ef42832a6 100644 --- a/src/lua/lua_dns_resolver.h +++ b/src/lua/lua_dns_resolver.h @@ -1,7 +1,7 @@ #ifndef RSPAMD_LUA_DNS_H #define RSPAMD_LUA_DNS_H -typedef struct lua_State lua_State; +struct lua_State; struct rdns_reply; /** @@ -11,6 +11,6 @@ struct rdns_reply; * @param reply */ void -lua_push_dns_reply (lua_State *L, const struct rdns_reply *reply); +lua_push_dns_reply (struct lua_State *L, const struct rdns_reply *reply); -#endif //RSPAMD_LUA_DNS_H +#endif -- 2.39.5