mirror of git://sourceware.org/git/glibc.git
Fix misplaced const
Constify __x86_cacheinfo_p and __x86_cpu_features_p, not their pointer target types.
This commit is contained in:
parent
fcfa4bb48d
commit
31f6488722
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue