From f698952a39bf4cc735bea31b64fb90e979ec0907 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 8 Aug 2008 23:30:19 +0200 Subject: 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 (This used to be commit 0fba9549894affa8e2ea0b7fd15812f56f3319a3) --- source3/libaddns/dns.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source3/libaddns/dns.h') diff --git a/source3/libaddns/dns.h b/source3/libaddns/dns.h index cf842f4d10..2eaeaf7608 100644 --- a/source3/libaddns/dns.h +++ b/source3/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 */ -- cgit