aboutsummaryrefslogtreecommitdiffstats
path: root/libical/MacOS/strdup.c
diff options
context:
space:
mode:
authornobody <nobody@localhost>2000-03-29 08:30:07 +0800
committernobody <nobody@localhost>2000-03-29 08:30:07 +0800
commit3fc9f9098ded4a46c8f4f13f39e5b29c4139388f (patch)
tree828b9805c964e1d00a9ba6be3c1dc64f78be9523 /libical/MacOS/strdup.c
parentbce1144ad7cd318cb193eb39aecc42cf8a87358e (diff)
downloadgsoc2013-evolution-MC_4_5_44.tar
gsoc2013-evolution-MC_4_5_44.tar.gz
gsoc2013-evolution-MC_4_5_44.tar.bz2
gsoc2013-evolution-MC_4_5_44.tar.lz
gsoc2013-evolution-MC_4_5_44.tar.xz
gsoc2013-evolution-MC_4_5_44.tar.zst
gsoc2013-evolution-MC_4_5_44.zip
This commit was manufactured by cvs2svn to create tag 'MC_4_5_44'.MC_4_5_44
svn path=/tags/MC_4_5_44/; revision=2228
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 );
-}