removed redundant implementation of strdup.
git-svn-id: svn://10.0.0.236/trunk@63348 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
20a3f30741
commit
0a54064701
@ -47,14 +47,6 @@
|
||||
|
||||
#include "jstypes.h"
|
||||
|
||||
char* strdup(const char *str)
|
||||
{
|
||||
char* dup = (char*) malloc(1 + strlen(str));
|
||||
if (dup != NULL)
|
||||
strcpy(dup, str);
|
||||
return dup;
|
||||
}
|
||||
|
||||
#if defined(LIVECONNECT)
|
||||
|
||||
#include "JavaSession.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user