Kaydet (Commit) 178652b0 authored tarafından Jack Jansen's avatar Jack Jansen

Export strdup (parsermodule needs it)

üst d0f26784
......@@ -62,9 +62,11 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
static int arg_count;
static char *arg_vector[256];
/* Duplicate a string to the heap */
/* Duplicate a string to the heap. We also export this since it isn't standard
** and others use it
*/
static char *
char *
strdup(char *src)
{
char *dst = malloc(strlen(src) + 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment