From: Vsevolod Stakhov Date: Mon, 11 Mar 2019 11:47:01 +0000 (+0000) Subject: [Minor] Fix forwarded declarations X-Git-Tag: 1.9.0~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3c70c015b44d4ab2cf5740df3828c14648e4ea27;p=rspamd.git [Minor] Fix forwarded declarations Issue: #2707 Closes: #2707 --- 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