commit 3c70c01: [Minor] Fix forwarded declarations

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Mar 11 11:49:03 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-03-11 11:47:01 +0000
URL: https://github.com/rspamd/rspamd/commit/3c70c015b44d4ab2cf5740df3828c14648e4ea27 (HEAD -> master)

[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


More information about the Commits mailing list