[PATCH 6/7] fstat64: Fix Build warnings with common-generic ABI build

Markos Chandras markos.chandras at gmail.com
Thu Mar 14 10:48:48 UTC 2013


On 11 March 2013 13:21, Vineet Gupta <Vineet.Gupta1 at synopsys.com> wrote:

> diff --git a/libc/sysdeps/linux/common/xstatconv.h b/libc/sysdeps/linux/common/xstatconv.h
> index a9e563f..cd4d7e9 100644
> --- a/libc/sysdeps/linux/common/xstatconv.h
> +++ b/libc/sysdeps/linux/common/xstatconv.h
> @@ -25,9 +25,11 @@
>  #include <features.h>
>  #include <bits/kernel_stat.h>
>
> +#ifdef __ARCH_HAS_DEPRECATED_SYSCALLS__
>  extern void __xstat_conv(struct kernel_stat *kbuf, struct stat *buf) attribute_hidden;
>  extern void __xstat32_conv(struct kernel_stat64 *kbuf, struct stat *buf) attribute_hidden;
>  #if defined __UCLIBC_HAS_LFS__
>  extern void __xstat64_conv(struct kernel_stat64 *kbuf, struct stat64 *buf) attribute_hidden;
>  #endif
> +#endif
>

Looks good to me. Thanks

-- 
Regards,
Markos Chandras


More information about the uClibc mailing list