chiark / gitweb /
Add extern "C" for C++.
authorian <ian>
Wed, 14 Jul 1999 22:47:16 +0000 (22:47 +0000)
committerian <ian>
Wed, 14 Jul 1999 22:47:16 +0000 (22:47 +0000)
src/adns.h

index 9408553395b473be4e49b0d149973d8d6dce96a6..c0e4fcc6e66936134734f45d19c97ceeb61314cd 100644 (file)
  *  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.53 1999/07/14 22:45:08 ian Exp $
+ *  $Id: adns.h,v 1.54 1999/07/14 22:47:16 ian Exp $
  */
 
 #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