X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/adns/blobdiff_plain/3d5cde09d167be1609d27d0d93de2096250a310c..8fedcfebdb4f36ecc937f0bd17d177ea97959e31:/src/adns.h 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;