]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix forwarded declarations
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 11 Mar 2019 11:47:01 +0000 (11:47 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 11 Mar 2019 11:47:01 +0000 (11:47 +0000)
Issue: #2707
Closes: #2707
src/lua/lua_dns_resolver.h

index f5c71aa0b9f0581d44cbf98a9d07f569f6e73f3e..ef42832a6f707756c72ce570f7a6a466868b548a 100644 (file)
@@ -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