Move ifunc stuff from idef.h to ifunc.h