mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-15 15:16:53 +02:00
build: Swap symbol and alias arguments order in macros creating aliases
The current order is rather confusing, pass the real symbol first and the alias we want to create next.
This commit is contained in:
@@ -570,7 +570,7 @@ strnunvis_openbsd(char *dst, const char *src, size_t dlen)
|
||||
{
|
||||
return strnunvisx(dst, dlen, src, 0);
|
||||
}
|
||||
libbsd_symver_default(strnunvis, strnunvis_openbsd, LIBBSD_0.2);
|
||||
libbsd_symver_default(strnunvis_openbsd, strnunvis, LIBBSD_0.2);
|
||||
|
||||
int
|
||||
strnunvis_netbsd(char *, size_t, const char *);
|
||||
@@ -579,4 +579,4 @@ strnunvis_netbsd(char *dst, size_t dlen, const char *src)
|
||||
{
|
||||
return strnunvisx(dst, dlen, src, 0);
|
||||
}
|
||||
libbsd_symver_variant(strnunvis, strnunvis_netbsd, LIBBSD_0.9.1);
|
||||
libbsd_symver_variant(strnunvis_netbsd, strnunvis, LIBBSD_0.9.1);
|
||||
|
Reference in New Issue
Block a user