diff options
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r-- | sysdeps/mach/hurd/dl-sysdep.c | 2 | ||||
-rw-r--r-- | sysdeps/mach/hurd/fstatvfs.c | 3 | ||||
-rw-r--r-- | sysdeps/mach/hurd/fxstat.c | 5 | ||||
-rw-r--r-- | sysdeps/mach/hurd/fxstat64.c | 5 | ||||
-rw-r--r-- | sysdeps/mach/hurd/lxstat.c | 5 | ||||
-rw-r--r-- | sysdeps/mach/hurd/lxstat64.c | 4 | ||||
-rw-r--r-- | sysdeps/mach/hurd/statvfs.c | 3 | ||||
-rw-r--r-- | sysdeps/mach/hurd/xstat.c | 1 | ||||
-rw-r--r-- | sysdeps/mach/hurd/xstat64.c | 1 |
9 files changed, 12 insertions, 17 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c index 3cdb4a3413..e1bab501a5 100644 --- a/sysdeps/mach/hurd/dl-sysdep.c +++ b/sysdeps/mach/hurd/dl-sysdep.c @@ -505,6 +505,7 @@ __fxstat64 (int vers, int fd, struct stat64 *buf) return 0; } +libc_hidden_def (__fxstat64) int weak_function __xstat64 (int vers, const char *file, struct stat64 *buf) @@ -522,6 +523,7 @@ __xstat64 (int vers, const char *file, struct stat64 *buf) return 0; } +libc_hidden_def (__xstat64) /* This function is called by the dynamic linker (rtld.c) to check whether debugging malloc is allowed even for SUID binaries. This diff --git a/sysdeps/mach/hurd/fstatvfs.c b/sysdeps/mach/hurd/fstatvfs.c index 70e6d81e81..a11abe89f4 100644 --- a/sysdeps/mach/hurd/fstatvfs.c +++ b/sysdeps/mach/hurd/fstatvfs.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998, 2001 Free Software Foundation, Inc. +/* Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -26,3 +26,4 @@ fstatvfs (int fd, struct statvfs *buf) can simply call fstatfs. */ return __fstatfs (fd, (struct statfs *)buf); } +libc_hidden_def (fstatvfs) diff --git a/sysdeps/mach/hurd/fxstat.c b/sysdeps/mach/hurd/fxstat.c index 28cfbbb375..8a2520c5d4 100644 --- a/sysdeps/mach/hurd/fxstat.c +++ b/sysdeps/mach/hurd/fxstat.c @@ -22,8 +22,6 @@ #include "xstatconv.c" -#undef __fxstat - /* Get information about the file descriptor FD in BUF. */ int __fxstat (int vers, int fd, struct stat *buf) @@ -31,6 +29,5 @@ __fxstat (int vers, int fd, struct stat *buf) struct stat64 buf64; return __fxstat64 (vers, fd, &buf64) ?: xstat64_conv (buf, &buf64); } - -INTDEF(__fxstat) +hidden_def (__fxstat) weak_alias (__fxstat, _fxstat) diff --git a/sysdeps/mach/hurd/fxstat64.c b/sysdeps/mach/hurd/fxstat64.c index c0d4767ec1..c1390d1bb1 100644 --- a/sysdeps/mach/hurd/fxstat64.c +++ b/sysdeps/mach/hurd/fxstat64.c @@ -24,8 +24,6 @@ #include <hurd.h> #include <hurd/fd.h> -#undef __fxstat64 - /* Get information about the file descriptor FD in BUF. */ int __fxstat64 (int vers, int fd, struct stat64 *buf) @@ -40,7 +38,6 @@ __fxstat64 (int vers, int fd, struct stat64 *buf) return 0; } - -INTDEF(__fxstat64) +hidden_def (__fxstat64) #endif diff --git a/sysdeps/mach/hurd/lxstat.c b/sysdeps/mach/hurd/lxstat.c index 9987e25f9b..d6d12798e8 100644 --- a/sysdeps/mach/hurd/lxstat.c +++ b/sysdeps/mach/hurd/lxstat.c @@ -22,14 +22,11 @@ #include "xstatconv.c" -#undef __lxstat - int __lxstat (int vers, const char *file, struct stat *buf) { struct stat64 buf64; return __lxstat64 (vers, file, &buf64) ?: xstat64_conv (buf, &buf64); } - -INTDEF(__lxstat) +hidden_def (__lxstat) weak_alias (__lxstat, _lxstat) diff --git a/sysdeps/mach/hurd/lxstat64.c b/sysdeps/mach/hurd/lxstat64.c index 6dabdb321e..a53f6921e7 100644 --- a/sysdeps/mach/hurd/lxstat64.c +++ b/sysdeps/mach/hurd/lxstat64.c @@ -22,8 +22,6 @@ #include <fcntl.h> #include <hurd.h> -#undef __lxstat64 - /* Get information about the file descriptor FD in BUF. */ int __lxstat64 (int vers, const char *file, struct stat64 *buf) @@ -43,4 +41,4 @@ __lxstat64 (int vers, const char *file, struct stat64 *buf) return __hurd_fail (err); return 0; } -INTDEF(__lxstat64) +hidden_def (__lxstat64) diff --git a/sysdeps/mach/hurd/statvfs.c b/sysdeps/mach/hurd/statvfs.c index f4412f2304..759a7cfe48 100644 --- a/sysdeps/mach/hurd/statvfs.c +++ b/sysdeps/mach/hurd/statvfs.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998, 2001 Free Software Foundation, Inc. +/* Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -26,3 +26,4 @@ statvfs (const char *file, struct statvfs *buf) can simply call statfs. */ return __statfs (file, (struct statfs *)buf); } +libc_hidden_def (statvfs) diff --git a/sysdeps/mach/hurd/xstat.c b/sysdeps/mach/hurd/xstat.c index 2ae9598d0a..97719b082c 100644 --- a/sysdeps/mach/hurd/xstat.c +++ b/sysdeps/mach/hurd/xstat.c @@ -28,4 +28,5 @@ __xstat (int vers, const char *file, struct stat *buf) struct stat64 buf64; return __xstat64 (vers, file, &buf64) ?: xstat64_conv (buf, &buf64); } +hidden_def (__xstat) weak_alias (__xstat, _xstat) diff --git a/sysdeps/mach/hurd/xstat64.c b/sysdeps/mach/hurd/xstat64.c index 3ca340007b..572ae4e59e 100644 --- a/sysdeps/mach/hurd/xstat64.c +++ b/sysdeps/mach/hurd/xstat64.c @@ -42,5 +42,6 @@ __xstat64 (int vers, const char *file, struct stat64 *buf) return __hurd_fail (err); return 0; } +hidden_def (__xstat64) #endif |