aarch64: libgcc: add prototypes in cpuinfo
Add prototypes for __init_cpu_features_resolver and __init_cpu_features to avoid warnings due to -Wmissing-prototypes. libgcc/ * config/aarch64/cpuinfo.c (__init_cpu_features_resolver): Add prototype. (__init_cpu_features): Likewise.
This commit is contained in:
parent
e4d417417f
commit
d806810f02
1 changed files with 2 additions and 0 deletions
|
@ -387,6 +387,7 @@ __init_cpu_features_constructor (unsigned long hwcap,
|
|||
__atomic_store_n (&__aarch64_cpu_features.features, feat, __ATOMIC_RELAXED);
|
||||
}
|
||||
|
||||
void __init_cpu_features_resolver(unsigned long, const __ifunc_arg_t *);
|
||||
void
|
||||
__init_cpu_features_resolver(unsigned long hwcap, const __ifunc_arg_t *arg)
|
||||
{
|
||||
|
@ -395,6 +396,7 @@ __init_cpu_features_resolver(unsigned long hwcap, const __ifunc_arg_t *arg)
|
|||
__init_cpu_features_constructor(hwcap, arg);
|
||||
}
|
||||
|
||||
void __init_cpu_features(void);
|
||||
void __attribute__ ((constructor))
|
||||
__init_cpu_features(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue