libuuid: remove function alias
It seems the 'alias' attribute is not portable enough. libuuid/src/unparse.c:72:17: error: only weak aliases are supported on darwin __attribute__((alias("uuid_unparse_lower"))); Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
a5e322f4f4
commit
bee4640067
|
@ -64,10 +64,11 @@ void uuid_unparse_upper(const uuid_t uu, char *out)
|
|||
uuid_fmt(uu, out, hexdigits_upper);
|
||||
}
|
||||
|
||||
void uuid_unparse(const uuid_t uu, char *out)
|
||||
{
|
||||
#ifdef UUID_UNPARSE_DEFAULT_UPPER
|
||||
void uuid_unparse(const uuid_t uu, char *out)
|
||||
__attribute__((alias("uuid_unparse_upper")));
|
||||
uuid_fmt(uu, out, hexdigits_upper);
|
||||
#else
|
||||
void uuid_unparse(const uuid_t uu, char *out)
|
||||
__attribute__((alias("uuid_unparse_lower")));
|
||||
uuid_fmt(uu, out, hexdigits_lower);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue