diff options
author | JP Rosevear <jpr@helixcode.com> | 2000-09-01 04:07:53 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2000-09-01 04:07:53 +0800 |
commit | 37da7888aba5c4283f14cae407fe6540f8ce9855 (patch) | |
tree | 6cf97c12e5cbcf94cf5d7a3bd02dd011c83a3daf /libical/MacOS/strdup.c | |
parent | d5690284caf6706a406cfc9bf4a57cecc5950e21 (diff) | |
download | gsoc2013-evolution-37da7888aba5c4283f14cae407fe6540f8ce9855.tar.gz gsoc2013-evolution-37da7888aba5c4283f14cae407fe6540f8ce9855.tar.zst gsoc2013-evolution-37da7888aba5c4283f14cae407fe6540f8ce9855.zip |
This dir is not in 0.19
2000-08-31 JP Rosevear <jpr@helixcode.com>
* MacOS: This dir is not in 0.19
svn path=/trunk/; revision=5149
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 ); -} |