From 8fedcfebdb4f36ecc937f0bd17d177ea97959e31 Mon Sep 17 00:00:00 2001 From: ian Date: Tue, 9 May 2000 21:50:50 +0000 Subject: [PATCH] + * Move `extern "C" {' to after #include <...>'s. @@ -1,3 +1,9 @@ +adns (0.9) unstable; urgency=low + + * Move `extern "C" {' to after #include <...>'s. + + -- + adns (0.8) BETA; urgency=medium Bugfixes: --- changelog | 6 ++++++ src/adns.h | 7 ++++--- 2 files changed, 10 insertions(+), 3 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 4287313..9478112 100644 --- a/src/adns.h +++ b/src/adns.h @@ -56,9 +56,6 @@ #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; -- 2.30.2