From: Michael Adam Date: Fri, 8 Aug 2008 21:30:19 +0000 (+0200) Subject: build: fix a no previous prototype warning when building without ldap/gssapia X-Git-Tag: samba-3.3.0pre1~262^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0fba9549894affa8e2ea0b7fd15812f56f3319a3;p=thirdparty%2Fsamba.git build: fix a no previous prototype warning when building without ldap/gssapia move prototype of dns_create_update_request() to appropriate section in dns.h Michael --- diff --git a/source/libaddns/dns.h b/source/libaddns/dns.h index cf842f4d109..2eaeaf76084 100644 --- a/source/libaddns/dns.h +++ b/source/libaddns/dns.h @@ -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 */