aboutsummaryrefslogtreecommitdiffstats
path: root/libical/MacOS/strdup.c
diff options
context:
space:
mode:
authornobody <nobody@localhost>2000-05-01 12:34:35 +0800
committernobody <nobody@localhost>2000-05-01 12:34:35 +0800
commit0f0df9f2f49b43fa9d7aaaed17b2b81067e1d7ed (patch)
tree2de188bb8dddea80c5aa5b53a2a275df404bdcc1 /libical/MacOS/strdup.c
parent54534fbe36359c1c5b2e7373f97b4cbff81f7108 (diff)
downloadgsoc2013-evolution-may13.tar
gsoc2013-evolution-may13.tar.gz
gsoc2013-evolution-may13.tar.bz2
gsoc2013-evolution-may13.tar.lz
gsoc2013-evolution-may13.tar.xz
gsoc2013-evolution-may13.tar.zst
gsoc2013-evolution-may13.zip
This commit was manufactured by cvs2svn to create tag 'may13'.may13
svn path=/tags/may13/; revision=2708
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 );
-}