blob: 3f54672f7e0533b4e24ec0b76b44f4a406e64455 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#ifndef _ALIAS_H_
#define _ALIAS_H_
#define alias(old, new) \
extern __typeof(old) new __attribute__((__alias__(#old)))
#define weak_alias(old, new) \
extern __typeof(old) new __attribute__((weak, __alias__(#old)))
#endif /* _ALIAS_H_ */
|