summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/xstatconv.c4
-rw-r--r--libc/sysdeps/linux/common/xstatconv.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/xstatconv.c b/libc/sysdeps/linux/common/xstatconv.c
index df6ebaa2b..407f32496 100644
--- a/libc/sysdeps/linux/common/xstatconv.c
+++ b/libc/sysdeps/linux/common/xstatconv.c
@@ -32,7 +32,7 @@
#include <sys/stat.h>
#include "xstatconv.h"
-void __xstat_conv(struct kernel_stat *kbuf, struct stat *buf)
+void attribute_hidden __xstat_conv(struct kernel_stat *kbuf, struct stat *buf)
{
/* Convert to current kernel version of `struct stat'. */
buf->st_dev = kbuf->st_dev;
@@ -57,7 +57,7 @@ void __xstat_conv(struct kernel_stat *kbuf, struct stat *buf)
#if defined(__UCLIBC_HAS_LFS__)
-void __xstat64_conv(struct kernel_stat64 *kbuf, struct stat64 *buf)
+void attribute_hidden __xstat64_conv(struct kernel_stat64 *kbuf, struct stat64 *buf)
{
/* Convert to current kernel version of `struct stat64'. */
buf->st_dev = kbuf->st_dev;
diff --git a/libc/sysdeps/linux/common/xstatconv.h b/libc/sysdeps/linux/common/xstatconv.h
index 38fcf6668..57c8bcbe2 100644
--- a/libc/sysdeps/linux/common/xstatconv.h
+++ b/libc/sysdeps/linux/common/xstatconv.h
@@ -25,8 +25,8 @@
* opinion on the subject, and different kernel revs use different names... */
#include <bits/kernel_stat.h>
-extern void __xstat_conv(struct kernel_stat *kbuf, struct stat *buf);
+extern void __xstat_conv(struct kernel_stat *kbuf, struct stat *buf) attribute_hidden;
#if defined __UCLIBC_HAS_LFS__
-extern void __xstat64_conv(struct kernel_stat64 *kbuf, struct stat64 *buf);
+extern void __xstat64_conv(struct kernel_stat64 *kbuf, struct stat64 *buf) attribute_hidden;
#endif