Firmwares/fpga_spn/bsp/libwrap/sys/weak_under_alias.h
Johannes Wirth 6bfe684e73 Create separate xspn-fpga FW
Add xspn data for different accelerators
2021-03-04 11:19:35 +01:00

8 lines
218 B
C

#ifndef _BSP_LIBWRAP_WEAK_UNDER_ALIAS_H
#define _BSP_LIBWRAP_WEAK_UNDER_ALIAS_H
#define weak_under_alias(name) \
extern __typeof (__wrap_##name) __wrap__##name __attribute__ ((weak, alias ("__wrap_"#name)))
#endif