git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4220
d0543943-73ff-0310-b7d9-
9358b9ac24b2
\param todup the string to duplicate
\return a pointer to the newly duplicated string
*/
-SWITCH_DECLARE(char *) switch_core_permanent_strdup(char *todup);
+SWITCH_DECLARE(char *) switch_core_permanent_strdup(const char *todup);
/*!
\brief Copy a string using memory allocation from a session's pool
return ptr;
}
-SWITCH_DECLARE(char *) switch_core_permanent_strdup(char *todup)
+SWITCH_DECLARE(char *) switch_core_permanent_strdup(const char *todup)
{
char *duped = NULL;
switch_size_t len;