summaryrefslogtreecommitdiffstats
path: root/src/shared/idn-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-12-03 20:21:11 +0100
committerLennart Poettering <lennart@poettering.net>2020-12-04 10:41:59 +0100
commit5517e214c8e6a18decf54884c9a5566fd7236764 (patch)
tree97901944f679c30aa6c51d93b482073f2af2e526 /src/shared/idn-util.c
parentdlfcn-util: add DLSYM_ARG() helper (diff)
downloadsystemd-5517e214c8e6a18decf54884c9a5566fd7236764.tar.xz
systemd-5517e214c8e6a18decf54884c9a5566fd7236764.zip
tree-wide: make use of new DLSYM_ARG() macro everywhere
Diffstat (limited to 'src/shared/idn-util.c')
-rw-r--r--src/shared/idn-util.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/shared/idn-util.c b/src/shared/idn-util.c
index 83c4b3c530..1c4472dc66 100644
--- a/src/shared/idn-util.c
+++ b/src/shared/idn-util.c
@@ -35,9 +35,9 @@ int dlopen_idn(void) {
r = dlsym_many_and_warn(
dl,
LOG_DEBUG,
- &sym_idn2_lookup_u8, "idn2_lookup_u8",
- &sym_idn2_strerror, "idn2_strerror",
- &sym_idn2_to_unicode_8z8z, "idn2_to_unicode_8z8z",
+ DLSYM_ARG(idn2_lookup_u8),
+ DLSYM_ARG(idn2_strerror),
+ DLSYM_ARG(idn2_to_unicode_8z8z),
NULL);
if (r < 0)
return r;
@@ -76,10 +76,10 @@ int dlopen_idn(void) {
r = dlsym_many_and_warn(
dl,
LOG_DEBUG,
- &sym_idna_to_ascii_4i, "idna_to_ascii_4i",
- &sym_idna_to_unicode_44i, "idna_to_unicode_44i",
- &sym_stringprep_ucs4_to_utf8, "stringprep_ucs4_to_utf8",
- &sym_stringprep_utf8_to_ucs4, "stringprep_utf8_to_ucs4",
+ DLSYM_ARG(idna_to_ascii_4i),
+ DLSYM_ARG(idna_to_unicode_44i),
+ DLSYM_ARG(stringprep_ucs4_to_utf8),
+ DLSYM_ARG(stringprep_utf8_to_ucs4),
NULL);
if (r < 0)
return r;