(scm_make_subr_with_generic): Add missing last argument
authorMarius Vollmer <mvo@zagadka.de>
Mon, 21 May 2001 12:27:08 +0000 (12:27 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Mon, 21 May 2001 12:27:08 +0000 (12:27 +0000)
in call to scm_c_define_gsubr_with_generic.  Thanks to Ariel Rios.

libguile/procs.c

index 66989d5..735a76c 100644 (file)
@@ -434,7 +434,7 @@ scm_make_subr_with_generic (const char *name, int type, SCM (*fcn) (), SCM *gf)
     ("`scm_make_subr_with_generic' is deprecated.  Use "
      "`scm_c_define_subr_with_generic' instead.");
   
-  return scm_c_define_subr_with_generic (name, type, fcn);
+  return scm_c_define_subr_with_generic (name, type, fcn, gf);
 }
 
 #endif /* !SCM_DEBUG_DEPRECATION */