This commit was manufactured by cvs2svn to create branch
[mdsms.git] / strdup.c
diff --git a/strdup.c b/strdup.c
deleted file mode 100644 (file)
index 3bd92a3..0000000
--- a/strdup.c
+++ /dev/null
@@ -1,27 +0,0 @@
-#include "config.h"
-#ifndef lint
-static char rcsid[] ATTR_UNUSED = "$Id$";
-#endif
-
-/*
- * $Log$
- * Revision 1.1.1.1  1999/05/26 13:06:26  short
- * First alpha release.
- *
- */
-
-/* This part of code is a public domain */
-
-#include <string.h>
-#include <stdlib.h>
-
-/* CONFORMING TO SVID 3, BSD 4.3 */
-
-char *strdup(const char *s)
-{
-size_t l;
-char *d;
-
-       if (!(d=malloc(l=strlen(s)+1))) return(NULL);
-       return memcpy(d,s,l);
-}