diff options
author | nobody <nobody@localhost> | 2000-05-16 11:43:44 +0800 |
---|---|---|
committer | nobody <nobody@localhost> | 2000-05-16 11:43:44 +0800 |
commit | 5e79f1e14725be2e212be1b05150e918a2a55efb (patch) | |
tree | 70ea22d6a4da2e07bedfe85a5cddc5e7ad0a1246 /libical/MacOS/strdup.c | |
parent | 40b6141cfe1649f685e49ebd81cfd4baf0baeedf (diff) | |
download | gsoc2013-evolution-cvs_old.tar gsoc2013-evolution-cvs_old.tar.gz gsoc2013-evolution-cvs_old.tar.bz2 gsoc2013-evolution-cvs_old.tar.lz gsoc2013-evolution-cvs_old.tar.xz gsoc2013-evolution-cvs_old.tar.zst gsoc2013-evolution-cvs_old.zip |
This commit was manufactured by cvs2svn to create tag 'cvs_old'.cvs_old
svn path=/tags/cvs_old/; revision=3063
Diffstat (limited to 'libical/MacOS/strdup.c')
-rw-r--r-- | libical/MacOS/strdup.c | 17 |
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 ); -} |