Definition removeopt_localdef (ret: option ident) (l: list localdef) : list localdef :=
  match ret with
   | Some id => remove_localdef_temp id l
   | None => l
   end.Definition ifvoid {T} t (A B: T) :=
 match t with Tvoid => A | _ => B end.

Lemma eqb_typelist_refl: forall tl, eqb_typelist tl tl = true.