From: Vincent Pit Date: Fri, 30 Oct 2015 15:22:53 +0000 (-0200) Subject: Add a prototype for tv_leak() X-Git-Tag: v1.15~5 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=60c3814cf8faecbe1ac93757f66147d7c2de54a7;p=perl%2Fmodules%2FTest-Valgrind.git Add a prototype for tv_leak() --- diff --git a/Valgrind.xs b/Valgrind.xs index b4a5a46..137ddf0 100644 --- a/Valgrind.xs +++ b/Valgrind.xs @@ -28,6 +28,8 @@ const char *tv_leaky = NULL; # define TV_LEAK_ARG #endif +extern void tv_leak(TV_LEAK_PROTO); + extern void tv_leak(TV_LEAK_PROTO) { tv_leaky = malloc(10000);