Removing so_locations once is enough.
[p5sagit/p5-mst-13.2.git] / taint.c
diff --git a/taint.c b/taint.c
index 4d000a1..0fe6f32 100644 (file)
--- a/taint.c
+++ b/taint.c
@@ -27,9 +27,9 @@ Perl_taint_proper(pTHX_ const char *f, char *s)
        else
            ug = " while running with -T switch";
        if (!PL_unsafe)
-           croak(f, s, ug);
+           Perl_croak(aTHX_ f, s, ug);
        else if (ckWARN(WARN_TAINT))
-           warner(WARN_TAINT, f, s, ug);
+           Perl_warner(aTHX_ WARN_TAINT, f, s, ug);
     }
 }