Firmwares/hifive1-vp/riscv-bldc-forced-commutation/bsp/libwrap/sys/weak_under_alias.h

8 lines
218 B
C
Raw Permalink Normal View History

2018-09-26 08:07:48 +02:00
#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