https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a2f4e191f45a768390f92…
commit a2f4e191f45a768390f92e6139e198859ba58bf1
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Oct 27 23:20:26 2019 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Oct 27 23:20:26 2019 +0100
[DNSAPI] Get rid of the internal/windns.h file.
---
dll/win32/dnsapi/dnsapi/precomp.h | 11 +++++++++--
dll/win32/dnsapi/include/internal/windns.h | 14 --------------
2 files changed, 9 insertions(+), 16 deletions(-)
diff --git a/dll/win32/dnsapi/dnsapi/precomp.h b/dll/win32/dnsapi/dnsapi/precomp.h
index e792a4779fa..5b1168c2c12 100644
--- a/dll/win32/dnsapi/dnsapi/precomp.h
+++ b/dll/win32/dnsapi/dnsapi/precomp.h
@@ -27,8 +27,12 @@
#include <dnsrslvr_c.h>
-/* Internal DNSAPI Headers */
-#include <internal/windns.h>
+#include <adns.h>
+
+typedef struct
+{
+ adns_state State;
+} WINDNS_CONTEXT, *PWINDNS_CONTEXT;
static inline LPWSTR dns_strdup_uw( const char *str )
{
@@ -134,4 +138,7 @@ static inline LPSTR dns_strdup_ua( const char *src )
return dst;
}
+DNS_STATUS DnsIntTranslateAdnsToDNS_STATUS(int Status);
+void DnsIntFreeRecordList(PDNS_RECORD ToFree);
+
#endif /* _DNSAPI_H */
diff --git a/dll/win32/dnsapi/include/internal/windns.h
b/dll/win32/dnsapi/include/internal/windns.h
deleted file mode 100644
index a383abb537a..00000000000
--- a/dll/win32/dnsapi/include/internal/windns.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#ifndef WINDNS_INTERNAL_H
-#define WINDNS_INTERNAL_H
-
-#include <adns.h>
-
-typedef struct
-{
- adns_state State;
-} WINDNS_CONTEXT, *PWINDNS_CONTEXT;
-
-DNS_STATUS DnsIntTranslateAdnsToDNS_STATUS(int Status);
-void DnsIntFreeRecordList(PDNS_RECORD ToFree);
-
-#endif /* WINDNS_INTERNAL_H */