diff options
author | Michael Adam <obnox@samba.org> | 2008-08-08 23:30:19 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-08-08 23:30:19 +0200 |
commit | f698952a39bf4cc735bea31b64fb90e979ec0907 (patch) | |
tree | d9394ebc28265f7b6f59eabbfafec3ecd97b4077 | |
parent | a0e664ebe701649bf674690a495377d745967081 (diff) | |
download | samba-f698952a39bf4cc735bea31b64fb90e979ec0907.tar.gz samba-f698952a39bf4cc735bea31b64fb90e979ec0907.tar.bz2 samba-f698952a39bf4cc735bea31b64fb90e979ec0907.zip |
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)
-rw-r--r-- | source3/libaddns/dns.h | 12 |
1 files changed, 6 insertions, 6 deletions
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 */ |