build: fix a no previous prototype warning when building without ldap/gssapia
authorMichael Adam <obnox@samba.org>
Fri, 8 Aug 2008 21:30:19 +0000 (23:30 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 8 Aug 2008 21:30:19 +0000 (23:30 +0200)
move prototype of dns_create_update_request() to appropriate section in dns.h

Michael
(This used to be commit 0fba9549894affa8e2ea0b7fd15812f56f3319a3)

source3/libaddns/dns.h

index cf842f4d109711bafc55d0093d7cb4ecdbf08c42..2eaeaf7608423d05ca0d244d582d48913086f76f 100644 (file)
@@ -456,6 +456,12 @@ DNS_ERROR dns_create_tsig_record(TALLOC_CTX *mem_ctx, const char *keyname,
                                 struct dns_rrec **prec);
 DNS_ERROR dns_add_rrec(TALLOC_CTX *mem_ctx, struct dns_rrec *rec,
                       uint16 *num_records, struct dns_rrec ***records);
+DNS_ERROR dns_create_update_request(TALLOC_CTX *mem_ctx,
+                                   const char *domainname,
+                                   const char *hostname,
+                                   const struct sockaddr_storage *ip_addr,
+                                   size_t num_adds,
+                                   struct dns_update_request **preq);
 
 /* from dnssock.c */
 
@@ -523,12 +529,6 @@ DNS_ERROR dns_sign_update(struct dns_update_request *req,
                          const char *keyname,
                          const char *algorithmname,
                          time_t time_signed, uint16 fudge);
-DNS_ERROR dns_create_update_request(TALLOC_CTX *mem_ctx,
-                                   const char *domainname,
-                                   const char *hostname,
-                                   const struct sockaddr_storage *ip_addr,
-                                   size_t num_adds,
-                                   struct dns_update_request **preq);
 
 #endif /* HAVE_GSSAPI_SUPPORT */