aboutsummaryrefslogtreecommitdiffstats
path: root/libical/MacOS/strdup.c
diff options
context:
space:
mode:
authornobody <nobody@localhost>2000-05-29 23:42:50 +0800
committernobody <nobody@localhost>2000-05-29 23:42:50 +0800
commit38c3f87fa2c50a71e095b4767d57ada6ce8867fe (patch)
tree47f7d2447d64eb8e27296917d78b128ddf21cde1 /libical/MacOS/strdup.c
parentccb665a0262b51c92ca5a54a074dda0dec91a573 (diff)
downloadgsoc2013-evolution-38c3f87fa2c50a71e095b4767d57ada6ce8867fe.tar
gsoc2013-evolution-38c3f87fa2c50a71e095b4767d57ada6ce8867fe.tar.gz
gsoc2013-evolution-38c3f87fa2c50a71e095b4767d57ada6ce8867fe.tar.bz2
gsoc2013-evolution-38c3f87fa2c50a71e095b4767d57ada6ce8867fe.tar.lz
gsoc2013-evolution-38c3f87fa2c50a71e095b4767d57ada6ce8867fe.tar.xz
gsoc2013-evolution-38c3f87fa2c50a71e095b4767d57ada6ce8867fe.tar.zst
gsoc2013-evolution-38c3f87fa2c50a71e095b4767d57ada6ce8867fe.zip
This commit was manufactured by cvs2svn to create tag 'GTKHTML_1_4'.GTKHTML_1_4
svn path=/tags/GTKHTML_1_4/; revision=3264
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 );
-}