diff --git a/userspace/libraries/LibC/include/sys/weak_alias.h b/userspace/libraries/LibC/include/sys/weak_alias.h new file mode 100644 index 00000000..46d747ec --- /dev/null +++ b/userspace/libraries/LibC/include/sys/weak_alias.h @@ -0,0 +1,7 @@ +#ifndef _SYS_WEAK_ALIAS +#define _SYS_WEAK_ALIAS 1 + +#define weak_alias(name, aliasname) _weak_alias (name, aliasname) +#define _weak_alias(name, aliasname) extern __typeof (name) aliasname __attribute__ ((weak, alias (#name))) + +#endif