aboutsummaryrefslogtreecommitdiffstats
path: root/libical/MacOS/strdup.c
diff options
context:
space:
mode:
authornobody <nobody@localhost>2000-05-02 07:51:27 +0800
committernobody <nobody@localhost>2000-05-02 07:51:27 +0800
commit3d7163ea2143ddd08da1563c945da92cb44bdc96 (patch)
tree02764133d670788239da089583f787e455be8439 /libical/MacOS/strdup.c
parent46a917144878351adb2db43ab27179a271a03d7d (diff)
downloadgsoc2013-evolution-GIDE_0_3_0.tar.gz
gsoc2013-evolution-GIDE_0_3_0.tar.zst
gsoc2013-evolution-GIDE_0_3_0.zip
This commit was manufactured by cvs2svn to create tag 'GIDE_0_3_0'.GIDE_0_3_0
svn path=/tags/GIDE_0_3_0/; revision=2732
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 );
-}