This function is probably supposed to be static inline because it is in a header and can be included in multiple c files. https://github.com/Xilinx/embeddedsw/blob/be4f96f3f73b0e47036eeb77949c1cc638b7648c/XilinxProcessorIPLib/drivers/emacps/src/xemacps.h#L814