diff options
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 ); -} |