Fix misplaced const

Constify __x86_cacheinfo_p and __x86_cpu_features_p, not their pointer
target types.
This commit is contained in:
Andreas Schwab 2021-01-25 14:29:45 +01:00
parent fcfa4bb48d
commit 31f6488722
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ __cache_sysconf (int name)
# include <ifunc-init.h>
extern void __x86_cacheinfo (void) attribute_hidden;
const void (*__x86_cacheinfo_p) (void) attribute_hidden
void (*const __x86_cacheinfo_p) (void) attribute_hidden
= __x86_cacheinfo;
__ifunc (__x86_cacheinfo, __x86_cacheinfo, NULL, void, init_cacheinfo);

View File

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