Use void, not void *, to suppress RETVAL (and compiler warning)
Steve Hay [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);