chiark
/
gitweb
/
~mdw
/
adns
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f81b2a
)
Add extern "C" for C++.
author
ian
<ian>
Wed, 14 Jul 1999 22:47:16 +0000
(22:47 +0000)
committer
ian
<ian>
Wed, 14 Jul 1999 22:47:16 +0000
(22:47 +0000)
src/adns.h
patch
|
blob
|
blame
|
history
diff --git
a/src/adns.h
b/src/adns.h
index 996d2829f3aefd20eda06ece3f4e43c6d243c6d3..21bc52495d73960ac913dc01551657715215e25d 100644
(file)
--- a/
src/adns.h
+++ b/
src/adns.h
@@
-24,6
+24,9
@@
#ifndef ADNS_H_INCLUDED
#define ADNS_H_INCLUDED
+#ifdef __cplusplus
+extern "C" { /* I really dislike this - iwj. */
+#endif
#include <stdio.h>
@@
-564,4
+567,7
@@
const char *adns_errabbrev(adns_status st);
* not returned by the same adns library.
*/
+#ifdef __cplusplus
+} /* end of extern "C" */
+#endif
#endif