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:
cfc3a0e
)
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 9408553395b473be4e49b0d149973d8d6dce96a6..c0e4fcc6e66936134734f45d19c97ceeb61314cd 100644
(file)
--- a/
src/adns.h
+++ b/
src/adns.h
@@
-19,11
+19,14
@@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* along with this program; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * $Id: adns.h,v 1.5
3 1999/07/14 22:45:08
ian Exp $
+ * $Id: adns.h,v 1.5
4 1999/07/14 22:47:16
ian Exp $
*/
#ifndef ADNS_H_INCLUDED
#define ADNS_H_INCLUDED
*/
#ifndef ADNS_H_INCLUDED
#define ADNS_H_INCLUDED
+#ifdef __cplusplus
+extern "C" { /* I really dislike this - iwj. */
+#endif
#include <stdio.h>
#include <stdio.h>
@@
-564,4
+567,7
@@
const char *adns_errabbrev(adns_status st);
* not returned by the same adns library.
*/
* not returned by the same adns library.
*/
+#ifdef __cplusplus
+} /* end of extern "C" */
+#endif
#endif
#endif