From: Nick Mathewson Date: Tue, 2 Oct 2007 19:11:41 +0000 (+0000) Subject: r15496@catbus: nickm | 2007-10-02 15:06:22 -0400 X-Git-Tag: release-2.0.1-alpha~550 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ed4867375f26dc01af1db00de43624bcbba6f7b;p=libevent r15496@catbus: nickm | 2007-10-02 15:06:22 -0400 Move end of "extern C {" block to the end of evdns.h. svn:r456 --- diff --git a/ChangeLog b/ChangeLog index e57f32fa..96880842 100644 --- a/ChangeLog +++ b/ChangeLog @@ -24,4 +24,5 @@ Changes in current version: o Skip calling gettime() in timeout_process if we are not in fact waiting for any events. (Patch from Trond Norbye) o Make test subdirectory compile under mingw. o Fix win32 buffer.c behavior so that it is correct for sockets (which do not like ReadFile and WriteFile). - + o Make the test.sh script run unit tests for the evpoll method. + o Make the entire evdns.h header enclosed in "extern C" as appropriate. \ No newline at end of file diff --git a/evdns.h b/evdns.h index b01b6ebc..6ec1834e 100644 --- a/evdns.h +++ b/evdns.h @@ -465,10 +465,6 @@ void evdns_set_transaction_id_fn(uint16_t (*fn)(void)); #define DNS_NO_SEARCH 1 -#ifdef __cplusplus -} -#endif - /* * Structures and functions used to implement a DNS server. */ @@ -516,4 +512,8 @@ int evdns_server_request_drop(struct evdns_server_request *req); struct sockaddr; int evdns_server_request_get_requesting_addr(struct evdns_server_request *_req, struct sockaddr *sa, int addr_len); +#ifdef __cplusplus +} +#endif + #endif /* !EVENTDNS_H */