aboutsummaryrefslogtreecommitdiffstats
path: root/libical/MacOS/strdup.c
diff options
context:
space:
mode:
authornobody <nobody@localhost>2000-05-05 20:46:42 +0800
committernobody <nobody@localhost>2000-05-05 20:46:42 +0800
commit391eb2b6d01fc9a7e0d3ea63060330c2b301789f (patch)
tree436339dec15d4858b98b7a1517bf060df97a4ff1 /libical/MacOS/strdup.c
parentf80ee8128bb94839d8a84cc620a209d37bbfa277 (diff)
downloadgsoc2013-evolution-pre-ettore.tar
gsoc2013-evolution-pre-ettore.tar.gz
gsoc2013-evolution-pre-ettore.tar.bz2
gsoc2013-evolution-pre-ettore.tar.lz
gsoc2013-evolution-pre-ettore.tar.xz
gsoc2013-evolution-pre-ettore.tar.zst
gsoc2013-evolution-pre-ettore.zip
This commit was manufactured by cvs2svn to create tag 'pre-ettore'.pre-ettore
svn path=/tags/pre-ettore/; revision=2814
Diffstat (limited to 'libical/MacOS/strdup.c')
-rw-r--r--libical/MacOS/strdup.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/libical/MacOS/strdup.c b/libical/MacOS/strdup.c
deleted file mode 100644
index ae60fee3df..0000000000
--- a/libical/MacOS/strdup.c
+++ /dev/null
@@ -1,17 +0,0 @@
-
-#include "strdup.h"
-#include <string.h>
-#include <stdlib.h>
-
-
-char *strdup(const char *s )
-{
- char *p;
-
- if ( (p = (char *) malloc( strlen( s ) + 1 )) == NULL )
- return( NULL );
-
- strcpy( p, s );
-
- return( p );
-}