Commits

Anonymous committed 3b2be81

Export strdup (parsermodule needs it)

  • Participants
  • Parent commits ffe0328
  • Branches legacy-trunk

Comments (0)

Files changed (1)

Mac/Python/macgetargv.c

 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);