From 368c83e4c06e01cd675797ac20a7757f9382374e Mon Sep 17 00:00:00 2001 Message-Id: <368c83e4c06e01cd675797ac20a7757f9382374e.1718339375.git.mdw@distorted.org.uk> From: Mark Wooding Date: Tue, 9 May 2000 21:50:50 +0000 Subject: [PATCH] @@ -1,3 +1,9 @@ +adns (0.9) unstable; urgency=low + + * Move `extern "C" {' to after #include <...>'s. + + -- + adns (0.8) BETA; urgency=medium Organization: Straylight/Edgeware From: ian Bugfixes: --- changelog | 6 ++++++ src/adns.h | 9 +++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/changelog b/changelog index 259fd62..20fcbf2 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,9 @@ +adns (0.9) unstable; urgency=low + + * Move `extern "C" {' to after #include <...>'s. + + -- + adns (0.8) BETA; urgency=medium Bugfixes: diff --git a/src/adns.h b/src/adns.h index 13c2cf7..fed7ec0 100644 --- a/src/adns.h +++ b/src/adns.h @@ -51,14 +51,11 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * - * $Id: adns.h,v 1.79 2000/05/07 22:37:18 ian Exp $ + * $Id: adns.h,v 1.80 2000/05/09 21:50:50 ian Exp $ */ #ifndef ADNS_H_INCLUDED #define ADNS_H_INCLUDED -#ifdef __cplusplus -extern "C" { /* I really dislike this - iwj. */ -#endif #include @@ -68,6 +65,10 @@ extern "C" { /* I really dislike this - iwj. */ #include #include +#ifdef __cplusplus +extern "C" { /* I really dislike this - iwj. */ +#endif + /* All struct in_addr anywhere in adns are in NETWORK byte order. */ typedef struct adns__state *adns_state; -- [mdw]