Move containing_scm arg from gdbscm_fill_eqable_gsmob_ptr_slot
[deliverable/binutils-gdb.git] / gdb / guile / scm-type.c
index 36cba799df3d5194e4b29777f05e31e896677fac..4fa0c28ed87f7937578eb0bebf60e8fc93049fec 100644 (file)
@@ -283,7 +283,7 @@ tyscm_make_type_smob (void)
   t_smob->type = NULL;
 
   t_scm = scm_new_smob (type_smob_tag, (scm_t_bits) t_smob);
-  gdbscm_init_eqable_gsmob (&t_smob->base);
+  gdbscm_init_eqable_gsmob (&t_smob->base, t_scm);
 
   return t_scm;
 }
@@ -326,7 +326,7 @@ tyscm_scm_from_type (struct type *type)
   t_scm = tyscm_make_type_smob ();
   t_smob = (type_smob *) SCM_SMOB_DATA (t_scm);
   t_smob->type = type;
-  gdbscm_fill_eqable_gsmob_ptr_slot (slot, &t_smob->base, t_scm);
+  gdbscm_fill_eqable_gsmob_ptr_slot (slot, &t_smob->base);
 
   return t_scm;
 }
This page took 0.025791 seconds and 4 git commands to generate.