chiark / gitweb /
+ * Move `extern "C" {' to after #include <...>'s.
authorian <ian>
Tue, 9 May 2000 21:50:50 +0000 (21:50 +0000)
committerian <ian>
Tue, 9 May 2000 21:50:50 +0000 (21:50 +0000)
@@ -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
src/adns.h

index 259fd62cb646580a279acb5e3f4a32b78cc66835..20fcbf2ba3c4896b5cd3442ef265187290dfad07 100644 (file)
--- 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:
index 42873134f3c9a45ebb4a16833fbb68592cbbb887..9478112b1d3f96614ca25d96f06a3cc1b9530fa8 100644 (file)
@@ -56,9 +56,6 @@
 
 #ifndef ADNS_H_INCLUDED
 #define ADNS_H_INCLUDED
-#ifdef __cplusplus
-extern "C" { /* I really dislike this - iwj. */
-#endif
 
 #include <stdio.h>
 
@@ -68,6 +65,10 @@ extern "C" { /* I really dislike this - iwj. */
 #include <sys/time.h>
 #include <unistd.h>
 
+#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;