10 lines
342 B
C
10 lines
342 B
C
![]() |
#ifndef __ALIAS_H
|
||
|
#define __ALIAS_H
|
||
|
#endif
|
||
|
|
||
|
/* Define ALIASNAME as a weak alias for NAME.
|
||
|
If weak aliases are not available, this defines a strong alias. */
|
||
|
# define weak_alias(name, aliasname) _weak_alias (name, aliasname)
|
||
|
# define _weak_alias(name, aliasname) \
|
||
|
extern __typeof (name) aliasname __attribute__ ((weak, alias (#name)));
|