Fix mismatch between declaration and forward declaration
KernelArgumentBlock is defined as a class in KernelArgumentBlock.h, but forward declarations refer to it as a struct. While this is essentially the same, the mismatch causes a compiler warning in clang (and may cause warnings in future versions of gcc) in code that is supposed to be compiled with -Werror. Change-Id: I4ba49d364c44d0a42c276aff3a8098300dbdcdf0 Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
This commit is contained in:
parent
8512992f50
commit
edad1e1558
@ -49,7 +49,7 @@ void __libc_fini(void* finit_array);
|
||||
__END_DECLS
|
||||
|
||||
#if defined(__cplusplus)
|
||||
struct KernelArgumentBlock;
|
||||
class KernelArgumentBlock;
|
||||
void __LIBC_HIDDEN__ __libc_init_common(KernelArgumentBlock& args);
|
||||
#endif
|
||||
|
||||
|
@ -113,7 +113,7 @@ extern int __set_tls(void* ptr);
|
||||
__END_DECLS
|
||||
|
||||
#if defined(__cplusplus)
|
||||
struct KernelArgumentBlock;
|
||||
class KernelArgumentBlock;
|
||||
extern __LIBC_HIDDEN__ void __libc_init_tls(KernelArgumentBlock& args);
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user