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:
Guillem Jover
2024-02-14 03:39:16 +01:00
parent 19e06407eb
commit f050160976
5 changed files with 29 additions and 29 deletions

View File

@@ -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);