This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use void, not void *, to suppress RETVAL (and compiler warning)
authorSteve Hay <SteveHay@planit.com>
Mon, 4 Jul 2005 15:57:32 +0000 (15:57 +0000)
committerSteve Hay <SteveHay@planit.com>
Mon, 4 Jul 2005 15:57:32 +0000 (15:57 +0000)
p4raw-id: //depot/perl@25075

ext/XS/APItest/APItest.xs

index ea825b2..82479bb 100644 (file)
@@ -161,13 +161,13 @@ fetch(hash, key_sv)
         OUTPUT:
         RETVAL
 
-void *
+void
 test_hv_free_ent()
        PPCODE:
        test_freeent(&Perl_hv_free_ent);
        XSRETURN(4);
 
-void *
+void
 test_hv_delayfree_ent()
        PPCODE:
        test_freeent(&Perl_hv_delayfree_ent);