Renaming tweaks, and split off the reentrant "superbuffer"
[p5sagit/p5-mst-13.2.git] / util.c
diff --git a/util.c b/util.c
index 303bfa4..138cb9c 100644 (file)
--- a/util.c
+++ b/util.c
@@ -4348,5 +4348,14 @@ Perl_sv_nounlocking(pTHX_ SV *sv)
 {
 }
 
+void
+Perl_reentrant_init(pTHX)
+{
+#ifdef USE_REENTRANT_API
+    New(31337, PL_reentrant_buffer, 1, REENTBUF);
+    New(31337, PL_reentrant_buffer->tmbuf, 1, struct tm);
+#endif
+}
+