add stub reset_xflags function