diff --git a/libc/bionic/libc_init_common.h b/libc/bionic/libc_init_common.h index 14105f87b..59dc7dff8 100644 --- a/libc/bionic/libc_init_common.h +++ b/libc/bionic/libc_init_common.h @@ -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 diff --git a/libc/private/bionic_tls.h b/libc/private/bionic_tls.h index d15b1ca06..9ea36474e 100644 --- a/libc/private/bionic_tls.h +++ b/libc/private/bionic_tls.h @@ -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