+++ /dev/null
-#include "config.h"
-#ifndef lint
-static char rcsid[] ATTR_UNUSED = "$Id$";
-#endif
-
-/* 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);
-}