]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/commitdiff
Add a prototype for tv_leak()
authorVincent Pit <perl@profvince.com>
Fri, 30 Oct 2015 15:22:53 +0000 (13:22 -0200)
committerVincent Pit <perl@profvince.com>
Fri, 30 Oct 2015 15:22:53 +0000 (13:22 -0200)
Valgrind.xs

index b4a5a46b52288035afbb3fc962fabf5a988b0606..137ddf0b77616777f8e7e4b9322148ed22840f7b 100644 (file)
@@ -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);