diff options
Diffstat (limited to 'libguile/gsubr.c')
-rw-r--r-- | libguile/gsubr.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libguile/gsubr.c b/libguile/gsubr.c index de4bff69f..ed8febd7b 100644 --- a/libguile/gsubr.c +++ b/libguile/gsubr.c @@ -794,13 +794,11 @@ create_gsubr (int define, const char *name, sname = scm_from_locale_symbol (name); table = scm_c_make_vector (generic_loc ? 3 : 2, SCM_UNDEFINED); SCM_SIMPLE_VECTOR_SET (table, 0, - scm_take_foreign_pointer (SCM_FOREIGN_TYPE_VOID, - fcn, 0, NULL)); + scm_take_foreign_pointer (fcn, NULL)); SCM_SIMPLE_VECTOR_SET (table, 1, sname); if (generic_loc) SCM_SIMPLE_VECTOR_SET (table, 2, - scm_take_foreign_pointer (SCM_FOREIGN_TYPE_VOID, - generic_loc, 0, NULL)); + scm_take_foreign_pointer (generic_loc, NULL)); /* make program */ ret = scm_make_program (scm_subr_objcode_trampoline (nreq, nopt, rest), |