about summary refs log tree commit diff
path: root/sysdeps/x86/dl-get-cpu-features.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2021-01-25 14:29:45 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2021-01-25 15:09:02 +0100
commit31f64887222597bb15b7a814d8dadb7cb667bcb9 (patch)
tree6a8349dc78bd37d2014c63684660df128b114594 /sysdeps/x86/dl-get-cpu-features.c
parentfcfa4bb48da965d92c7d01229d01e6c5ba59e69a (diff)
downloadglibc-31f64887222597bb15b7a814d8dadb7cb667bcb9.tar.gz
glibc-31f64887222597bb15b7a814d8dadb7cb667bcb9.tar.xz
glibc-31f64887222597bb15b7a814d8dadb7cb667bcb9.zip
Fix misplaced const
Constify __x86_cacheinfo_p and __x86_cpu_features_p, not their pointer
target types.
Diffstat (limited to 'sysdeps/x86/dl-get-cpu-features.c')
-rw-r--r--sysdeps/x86/dl-get-cpu-features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86/dl-get-cpu-features.c b/sysdeps/x86/dl-get-cpu-features.c
index 99e3aa7d04..839803c746 100644
--- a/sysdeps/x86/dl-get-cpu-features.c
+++ b/sysdeps/x86/dl-get-cpu-features.c
@@ -28,7 +28,7 @@
    once by IFUNC relocation.  In dynamic executable, it is called twice
    by DL_PLATFORM_INIT and by IFUNC relocation.  */
 extern void __x86_cpu_features (void) attribute_hidden;
-const void (*__x86_cpu_features_p) (void) attribute_hidden
+void (*const __x86_cpu_features_p) (void) attribute_hidden
   = __x86_cpu_features;
 
 void