rename S_delimcpy() to S_delimcpy_intern()
authorDavid Mitchell <[email protected]>
Wed, 7 Sep 2016 19:57:01 +0000 (20:57 +0100)
committerDavid Mitchell <[email protected]>
Wed, 7 Sep 2016 20:00:16 +0000 (21:00 +0100)
Its a bit confusing having both S_delimcpy() and Perl_delimcpy()
functions.

util.c

index 8d1f870..a69ddad 100644 (file)
--- a/util.c
+++ b/util.c
@@ -532,7 +532,7 @@ Free_t   Perl_mfree (Malloc_t where)
  */
 
 static char *
-S_delimcpy(char *to, const char *toend, const char *from,
+S_delimcpy_intern(char *to, const char *toend, const char *from,
           const char *fromend, int delim, I32 *retlen,
           const bool allow_escape)
 {
@@ -565,7 +565,7 @@ Perl_delimcpy(char *to, const char *toend, const char *from, const char *fromend
 {
     PERL_ARGS_ASSERT_DELIMCPY;
 
-    return S_delimcpy(to, toend, from, fromend, delim, retlen, 1);
+    return S_delimcpy_intern(to, toend, from, fromend, delim, retlen, 1);
 }
 
 char *
@@ -574,7 +574,7 @@ Perl_delimcpy_no_escape(char *to, const char *toend, const char *from,
 {
     PERL_ARGS_ASSERT_DELIMCPY_NO_ESCAPE;
 
-    return S_delimcpy(to, toend, from, fromend, delim, retlen, 0);
+    return S_delimcpy_intern(to, toend, from, fromend, delim, retlen, 0);
 }
 
 /*