#include "perl.h"
#include "XSUB.h"
-bool
+static bool
_runops_debug(int flag)
{
dTHX;
return d;
}
-SV *
+static SV *
DeadCode(pTHX)
{
#ifdef PURIFY
UV buf[_NBUCKETS*4];
};
-void
+static void
_fill_mstats(struct mstats_buffer *b, int level)
{
dTHX;
get_mstats(&(b->buffer), _NBUCKETS, level);
}
-void
+static void
fill_mstats(SV *sv, int level)
{
dTHX;
SvPOK_only(sv);
}
-void
+static void
_mstats_to_hv(HV *hv, const struct mstats_buffer *b, int level)
{
dTHX;
}
}
}
-void
+
+static void
mstats_fillhash(SV *sv, int level)
{
struct mstats_buffer buf;
_fill_mstats(&buf, level);
_mstats_to_hv((HV *)SvRV(sv), &buf, level);
}
-void
+
+static void
mstats2hash(SV *sv, SV *rv, int level)
{
if (!(SvROK(rv) && SvTYPE(SvRV(rv)) == SVt_PVHV))
_mstats_to_hv((HV *)SvRV(rv), (struct mstats_buffer*)SvPVX(sv), level);
}
#else /* !( defined(PERL_DEBUGGING_MSTATS) || defined(DEBUGGING_MSTATS) \ ) */
-void
+static void
fill_mstats(SV *sv, int level)
{
croak("Cannot report mstats without Perl malloc");
}
-void
+
+static void
mstats_fillhash(SV *sv, int level)
{
croak("Cannot report mstats without Perl malloc");
}
-void
+
+static void
mstats2hash(SV *sv, SV *rv, int level)
{
croak("Cannot report mstats without Perl malloc");