mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Fix misplaced const
Constify __x86_cacheinfo_p and __x86_cpu_features_p, not their pointer target types.
This commit is contained in:
@ -77,7 +77,7 @@ __cache_sysconf (int name)
|
|||||||
# include <ifunc-init.h>
|
# include <ifunc-init.h>
|
||||||
|
|
||||||
extern void __x86_cacheinfo (void) attribute_hidden;
|
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;
|
= __x86_cacheinfo;
|
||||||
|
|
||||||
__ifunc (__x86_cacheinfo, __x86_cacheinfo, NULL, void, init_cacheinfo);
|
__ifunc (__x86_cacheinfo, __x86_cacheinfo, NULL, void, init_cacheinfo);
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
once by IFUNC relocation. In dynamic executable, it is called twice
|
once by IFUNC relocation. In dynamic executable, it is called twice
|
||||||
by DL_PLATFORM_INIT and by IFUNC relocation. */
|
by DL_PLATFORM_INIT and by IFUNC relocation. */
|
||||||
extern void __x86_cpu_features (void) attribute_hidden;
|
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;
|
= __x86_cpu_features;
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user