Minor change to make C++ happy.
[yaz-moved-to-github.git] / include / dmalloc.h
index e8adc07..e713687 100644 (file)
  * OF THIS SOFTWARE.
  *
  * $Log: dmalloc.h,v $
- * Revision 1.2  1995-05-16 08:50:30  quinn
+ * Revision 1.6  1997-05-14 06:53:39  adam
+ * C++ support.
+ *
+ * Revision 1.5  1995/10/16 13:51:43  quinn
+ * Changes to provide Especs to the backend.
+ *
+ * Revision 1.4  1995/09/29  17:12:02  quinn
+ * Smallish
+ *
+ * Revision 1.3  1995/09/27  15:02:47  quinn
+ * Modified function heads & prototypes.
+ *
+ * Revision 1.2  1995/05/16  08:50:30  quinn
  * License, documentation, and memory fixes
  *
  * Revision 1.1  1995/03/30  09:39:40  quinn
 #ifndef DMALLOC_H
 #define DMALLOC_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #ifdef DEBUG_MALLOC
 
 #ifdef malloc
@@ -61,4 +77,8 @@ void *d_realloc(char *file, int line, char *ptr, int nbytes);
 
 #endif
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif