]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
net dns: Move "enum dns_ServerType" to its only user
authorVolker Lendecke <vl@samba.org>
Sat, 13 Jun 2026 10:40:43 +0000 (12:40 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 3 Jul 2026 08:08:36 +0000 (08:08 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/addns/dns.h
source3/utils/net_dns.c

index f1c60d47fb798fd08e714c52135555c39c9b44ed..6a496f32c1f5314686150c0f4ad21c7422330587 100644 (file)
@@ -59,8 +59,6 @@
 #define  DNS_NOT_IMPLEMENTED   4
 #define  DNS_REFUSED           5
 
-enum dns_ServerType { DNS_SRV_ANY, DNS_SRV_WIN2000, DNS_SRV_WIN2003 };
-
 struct dns_domain_label {
        struct dns_domain_label *next;
        char *label;
index ad560bb1b296def3550f89802912560a40281fce..95155d719164c0d1cc637e09a9c468438885ff06 100644 (file)
@@ -27,6 +27,8 @@
 #include "auth_generic.h"
 #include "libcli/dns/libdns.h"
 
+enum dns_ServerType { DNS_SRV_ANY, DNS_SRV_WIN2000, DNS_SRV_WIN2003 };
+
 #if defined(HAVE_KRB5)
 
 static NTSTATUS dns_negotiate_sec_ctx(const char *serveraddress,