Rename scm_tc7_rtl_program to scm_tc7_program
[bpt/guile.git] / libguile / gsubr.c
index 96fab4e..391be47 100644 (file)
@@ -239,7 +239,7 @@ create_subr (int define, const char *name,
   flags = SCM_F_PROGRAM_IS_PRIMITIVE;
   flags |= generic_loc ? SCM_F_PROGRAM_IS_PRIMITIVE_GENERIC : 0;
 
-  ret = scm_words (scm_tc7_rtl_program | (nfree << 16) | flags, nfree + 2);
+  ret = scm_words (scm_tc7_program | (nfree << 16) | flags, nfree + 2);
   SCM_SET_CELL_WORD_1 (ret, get_subr_stub_code (nreq, nopt, rest));
   SCM_RTL_PROGRAM_FREE_VARIABLE_SET (ret, 0, scm_from_pointer (fcn, NULL));
   SCM_RTL_PROGRAM_FREE_VARIABLE_SET (ret, 1, sname);