X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fadns.h;h=9478112b1d3f96614ca25d96f06a3cc1b9530fa8;hb=8fedcfebdb4f36ecc937f0bd17d177ea97959e31;hp=42873134f3c9a45ebb4a16833fbb68592cbbb887;hpb=3d5cde09d167be1609d27d0d93de2096250a310c;p=adns.git 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;