Em Fri, May 21, 2021 at 09:44:20AM +0800, Shuyi Cheng escreveu: > To solve problems similar to _RH_KABI_REPLACE. The _RH_KABI_REPLACE(_orig, > _new) macros perserve size alignment and kabi agreement between _orig and > _new.Below is the definition of this macro: > > # define _RH_KABI_REPLACE(_orig, _new) \ > union { \ > _new; \ > struct { \ > _orig; \ > } __UNIQUE_ID(rh_kabi_hide); \ > __RH_KABI_CHECK_SIZE_ALIGN(_orig, _new); \ > } Thanks, applied. - Arnaldo