aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/x86/sys/pkru.c
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2019-05-16 22:20:54 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2019-05-16 22:20:54 +0000
commit7c5a46a1bc4b705064ced073b0d86a3dc4717f94 (patch)
treef270bec2d6f75bd941cb0c59317a6fd173d0ce18 /lib/libc/x86/sys/pkru.c
parent11f8f36fb9b2126dad9da6af6f6cc6200362b968 (diff)
downloadsrc-7c5a46a1bc4b705064ced073b0d86a3dc4717f94.tar.gz
src-7c5a46a1bc4b705064ced073b0d86a3dc4717f94.zip
Remove resolver_qual from DEFINE_IFUNC/DEFINE_UIFUNC macros.
In all practical situations, the resolver visibility is static. Requested by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: so (emaste) Differential revision: https://reviews.freebsd.org/D20281
Notes
Notes: svn path=/head/; revision=347895
Diffstat (limited to 'lib/libc/x86/sys/pkru.c')
-rw-r--r--lib/libc/x86/sys/pkru.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/x86/sys/pkru.c b/lib/libc/x86/sys/pkru.c
index 6aa3cbf95767..28ce93389fd0 100644
--- a/lib/libc/x86/sys/pkru.c
+++ b/lib/libc/x86/sys/pkru.c
@@ -71,7 +71,7 @@ x86_pkru_get_perm_hw(u_int keyidx, int *access, int *modify)
return (0);
}
-DEFINE_UIFUNC(, int, x86_pkru_get_perm, (u_int, int *, int *), static)
+DEFINE_UIFUNC(, int, x86_pkru_get_perm, (u_int, int *, int *))
{
return ((cpu_stdext_feature2 & CPUID_STDEXT2_OSPKE) == 0 ?
@@ -106,7 +106,7 @@ x86_pkru_set_perm_hw(u_int keyidx, int access, int modify)
return (0);
}
-DEFINE_UIFUNC(, int, x86_pkru_set_perm, (u_int, int, int), static)
+DEFINE_UIFUNC(, int, x86_pkru_set_perm, (u_int, int, int))
{
return ((cpu_stdext_feature2 & CPUID_STDEXT2_OSPKE) == 0 ?