aboutsummaryrefslogtreecommitdiffstats
path: root/libical/MacOS/strdup.c
diff options
context:
space:
mode:
authornobody <nobody@localhost>2000-08-22 20:05:30 +0800
committernobody <nobody@localhost>2000-08-22 20:05:30 +0800
commit91c020e631fd7161e8133774aa38ad3c4fc360be (patch)
tree3b4824784cd30983db4a6ae1f38db287d5815941 /libical/MacOS/strdup.c
parent44ae37c371e25fe05e8aee145f1d9af7130a201d (diff)
downloadgsoc2013-evolution-BONOBO_0_24.tar
gsoc2013-evolution-BONOBO_0_24.tar.gz
gsoc2013-evolution-BONOBO_0_24.tar.bz2
gsoc2013-evolution-BONOBO_0_24.tar.lz
gsoc2013-evolution-BONOBO_0_24.tar.xz
gsoc2013-evolution-BONOBO_0_24.tar.zst
gsoc2013-evolution-BONOBO_0_24.zip
This commit was manufactured by cvs2svn to create tag 'BONOBO_0_24'.BONOBO_0_24
svn path=/tags/BONOBO_0_24/; revision=4924
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 );
-}