summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-03-25 22:45:34 +0000
committerNicholas Clark <nick@ccl4.org>2006-03-25 22:45:34 +0000
commit5cdc4e887c4f945f9ad5780d17851ee07949baed (patch)
treea82b92e282a01ffdaa73a0d164afbda3bdaca32a /proto.h
parent7087a21c096179886f18cec5311cc7e897850eef (diff)
downloadperl-5cdc4e887c4f945f9ad5780d17851ee07949baed.tar.gz
Add S_space_join_names_mortal() which joins a char** array with " "s,
replacing 5 instances of the same code. p4raw-id: //depot/perl@27608
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index fc754eac07..eb996cb590 100644
--- a/proto.h
+++ b/proto.h
@@ -3458,6 +3458,9 @@ STATIC int S_dooneliner(pTHX_ const char *cmd, const char *filename)
__attribute__nonnull__(pTHX_2);
# endif
+STATIC SV * S_space_join_names_mortal(pTHX_ char *const *array)
+ __attribute__nonnull__(pTHX_1);
+
#endif
#if defined(PERL_IN_REGCOMP_C) || defined(PERL_DECL_PROT)