Updated information about YAZ.
[yaz-moved-to-github.git] / util / nmemsdup.c
index a17f9cf..d33caf9 100644 (file)
@@ -4,17 +4,23 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: nmemsdup.c,v $
- * Revision 1.1  1997-09-17 12:10:42  adam
+ * Revision 1.3  1999-11-30 13:47:12  adam
+ * Improved installation. Moved header files to include/yaz.
+ *
+ * Revision 1.2  1998/02/11 11:53:36  adam
+ * Changed code so that it compiles as C++.
+ *
+ * Revision 1.1  1997/09/17 12:10:42  adam
  * YAZ version 1.4.
  *
  */
 
 #include <string.h>
-#include <nmem.h>
+#include <yaz/nmem.h>
 
 char *nmem_strdup (NMEM mem, const char *src)
 {
-    char *dst = nmem_malloc (mem, strlen(src)+1);
+    char *dst = (char *)nmem_malloc (mem, strlen(src)+1);
     strcpy (dst, src);
     return dst;
 }