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:
Bernhard Rosenkraenzer 2013-09-18 23:37:00 +02:00
parent 8512992f50
commit edad1e1558
2 changed files with 2 additions and 2 deletions

View File

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

View File

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