]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* include/unistd.h (seteuid, setegid): Add libc_hidden_proto.
authorRoland McGrath <roland@gnu.org>
Tue, 13 Aug 2002 00:24:58 +0000 (00:24 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 13 Aug 2002 00:24:58 +0000 (00:24 +0000)
* sysdeps/generic/seteuid.c (seteuid): Add libc_hidden_def.
* sysdeps/generic/setegid.c (setegid): Likewise.
* sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
* sysdeps/mach/hurd/setegid.c (setegid): Likewise.
* sysdeps/unix/bsd/seteuid.c (seteuid): Likewise.
* sysdeps/unix/bsd/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/aix/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/aix/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/linux/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
Remove fallback if __ASSUME_SETRESUID_SYSCALL.

* include/sys/stat.h (__fxstat_internal, __fxstat64_internal,
__lxstat_internal, __lxstat64_internal): Remove.
(__fxstat, __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64):
Add hidden_proto.
* sysdeps/generic/fxstat.c (__fxstat): Add hidden_def.
Remove INTDEF where present, remove #undef at the beginning.
* sysdeps/generic/fxstat64.c (__fxstat64): Likewise.
* sysdeps/generic/lxstat.c (__lxstat): Likewise.
* sysdeps/generic/lxstat64.c (__lxstat64): Likewise.
* sysdeps/generic/xstat.c (__xstat): Likewise.
* sysdeps/generic/xstat64.c (__xstat64): Likewise.
* sysdeps/mach/hurd/dl-sysdep.c (__xstat64, __fxstat64): Likewise.
* sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise.
* sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise.
* sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise.
* sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise.
* sysdeps/mach/hurd/xstat.c (__xstat): Likewise.
* sysdeps/mach/hurd/xstat64.c (__xstat64): Likewise.
* sysdeps/unix/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/common/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/aix/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/aix/fxstat64.c (__fxstat64): Likewise.
* sysdeps/unix/sysv/aix/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/aix/lxstat64.c (__lxstat64): Likewise.
* sysdeps/unix/sysv/aix/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/aix/xstat64.c (__xstat64): Likewise.
* sysdeps/unix/sysv/linux/ia64/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/ia64/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/ia64/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
* sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Likewise.
* sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
* sysdeps/unix/xstat.c (__xstat): Likewise.

* include/sys/statvfs.h (statvfs, fstatvfs): Add libc_hidden_proto.
* sysdeps/generic/statvfs.c (statvfs): Add libc_hidden_def.
* sysdeps/generic/fstatvfs.c (fstatvfs): Likewise.
* sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
* sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Likewise.
* sysdeps/unix/sysv/linux/statvfs.c (statvfs): Likewise.
* sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Likewise.

* include/unistd.h (tcgetpgrp): Add libc_hidden_proto.
* include/termios.h (tcsetattr, cfsetispeed, cfsetospeed): Likewise.
* sysdeps/generic/tcgetpgrp.c (tcgetpgrp): Add libc_hidden_def.
* sysdeps/generic/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/generic/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/bsd/bsd4.4/tcsetattr.c (tcgetpgrp): Likewise.
* sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/bsd/sun/sunos4/speed.c (cfsetispeed, cfsetospeed):
Likewise.
* sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
* sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/aix/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/aix/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/linux/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/sysv/tcgetpgrp.c (tcgetpgrp): Likewise.
* sysdeps/unix/sysv/tcsetattr.c (tcsetattr): Likewise.

* include/string.h (strcoll): Add libc_hidden_proto.
* string/strcoll.c (strcoll): Add libc_hidden_def.

* misc/err.c (vwarn): Fix pasto in libc_hidden_def.

65 files changed:
ChangeLog
include/string.h
include/sys/stat.h
include/sys/statvfs.h
include/termios.h
include/unistd.h
misc/err.c
string/strcoll.c
sysdeps/generic/fstatvfs.c
sysdeps/generic/fxstat.c
sysdeps/generic/fxstat64.c
sysdeps/generic/lxstat.c
sysdeps/generic/lxstat64.c
sysdeps/generic/speed.c
sysdeps/generic/statvfs.c
sysdeps/generic/tcgetpgrp.c
sysdeps/generic/tcsetattr.c
sysdeps/generic/xstat.c
sysdeps/generic/xstat64.c
sysdeps/mach/hurd/dl-sysdep.c
sysdeps/mach/hurd/fstatvfs.c
sysdeps/mach/hurd/fxstat.c
sysdeps/mach/hurd/fxstat64.c
sysdeps/mach/hurd/lxstat.c
sysdeps/mach/hurd/lxstat64.c
sysdeps/mach/hurd/statvfs.c
sysdeps/mach/hurd/xstat.c
sysdeps/mach/hurd/xstat64.c
sysdeps/unix/bsd/bsd4.4/tcsetattr.c
sysdeps/unix/bsd/sun/sunos4/speed.c
sysdeps/unix/bsd/sun/sunos4/tcsetattr.c
sysdeps/unix/bsd/tcgetpgrp.c
sysdeps/unix/bsd/tcsetattr.c
sysdeps/unix/common/lxstat.c
sysdeps/unix/fxstat.c
sysdeps/unix/sysv/aix/fxstat.c
sysdeps/unix/sysv/aix/fxstat64.c
sysdeps/unix/sysv/aix/lxstat.c
sysdeps/unix/sysv/aix/lxstat64.c
sysdeps/unix/sysv/aix/speed.c
sysdeps/unix/sysv/aix/tcsetattr.c
sysdeps/unix/sysv/aix/xstat.c
sysdeps/unix/sysv/aix/xstat64.c
sysdeps/unix/sysv/linux/fstatvfs.c
sysdeps/unix/sysv/linux/fxstat.c
sysdeps/unix/sysv/linux/fxstat64.c
sysdeps/unix/sysv/linux/i386/fxstat.c
sysdeps/unix/sysv/linux/i386/lxstat.c
sysdeps/unix/sysv/linux/i386/xstat.c
sysdeps/unix/sysv/linux/ia64/fxstat.c
sysdeps/unix/sysv/linux/ia64/lxstat.c
sysdeps/unix/sysv/linux/ia64/xstat.c
sysdeps/unix/sysv/linux/lxstat.c
sysdeps/unix/sysv/linux/lxstat64.c
sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c
sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c
sysdeps/unix/sysv/linux/s390/s390-64/xstat.c
sysdeps/unix/sysv/linux/speed.c
sysdeps/unix/sysv/linux/statvfs.c
sysdeps/unix/sysv/linux/tcsetattr.c
sysdeps/unix/sysv/linux/xstat.c
sysdeps/unix/sysv/linux/xstat64.c
sysdeps/unix/sysv/tcgetpgrp.c
sysdeps/unix/sysv/tcsetattr.c
sysdeps/unix/xstat.c

index a75fef4cd4fbcd287a37e72884edc374a21766f5..b20a82a208d2a369d0e7252954006094aeb62239 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,96 @@
+2002-08-13  Jakub Jelinek  <jakub@redhat.com>
+
+       * include/unistd.h (seteuid, setegid): Add libc_hidden_proto.
+       * sysdeps/generic/seteuid.c (seteuid): Add libc_hidden_def.
+       * sysdeps/generic/setegid.c (setegid): Likewise.
+       * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
+       * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
+       * sysdeps/unix/bsd/seteuid.c (seteuid): Likewise.
+       * sysdeps/unix/bsd/setegid.c (setegid): Likewise.
+       * sysdeps/unix/sysv/aix/seteuid.c (seteuid): Likewise.
+       * sysdeps/unix/sysv/aix/setegid.c (setegid): Likewise.
+       * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c (seteuid): Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Likewise.
+       * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
+       * sysdeps/unix/sysv/linux/setegid.c (setegid): Likewise.
+       * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
+       Remove fallback if __ASSUME_SETRESUID_SYSCALL.
+
+       * include/sys/stat.h (__fxstat_internal, __fxstat64_internal,
+       __lxstat_internal, __lxstat64_internal): Remove.
+       (__fxstat, __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64):
+       Add hidden_proto.
+       * sysdeps/generic/fxstat.c (__fxstat): Add hidden_def.
+       Remove INTDEF where present, remove #undef at the beginning.
+       * sysdeps/generic/fxstat64.c (__fxstat64): Likewise.
+       * sysdeps/generic/lxstat.c (__lxstat): Likewise.
+       * sysdeps/generic/lxstat64.c (__lxstat64): Likewise.
+       * sysdeps/generic/xstat.c (__xstat): Likewise.
+       * sysdeps/generic/xstat64.c (__xstat64): Likewise.
+       * sysdeps/mach/hurd/dl-sysdep.c (__xstat64, __fxstat64): Likewise.
+       * sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise.
+       * sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise.
+       * sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise.
+       * sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise.
+       * sysdeps/mach/hurd/xstat.c (__xstat): Likewise.
+       * sysdeps/mach/hurd/xstat64.c (__xstat64): Likewise.
+       * sysdeps/unix/fxstat.c (__fxstat): Likewise.
+       * sysdeps/unix/common/lxstat.c (__lxstat): Likewise.
+       * sysdeps/unix/sysv/aix/fxstat.c (__fxstat): Likewise.
+       * sysdeps/unix/sysv/aix/fxstat64.c (__fxstat64): Likewise.
+       * sysdeps/unix/sysv/aix/lxstat.c (__lxstat): Likewise.
+       * sysdeps/unix/sysv/aix/lxstat64.c (__lxstat64): Likewise.
+       * sysdeps/unix/sysv/aix/xstat.c (__xstat): Likewise.
+       * sysdeps/unix/sysv/aix/xstat64.c (__xstat64): Likewise.
+       * sysdeps/unix/sysv/linux/ia64/fxstat.c (__fxstat): Likewise.
+       * sysdeps/unix/sysv/linux/ia64/lxstat.c (__lxstat): Likewise.
+       * sysdeps/unix/sysv/linux/ia64/xstat.c (__xstat): Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c (__fxstat): Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c (__lxstat): Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c (__xstat): Likewise.
+       * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
+       * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
+       * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
+       * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
+       * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
+       * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
+       * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Likewise.
+       * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
+       * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
+       * sysdeps/unix/xstat.c (__xstat): Likewise.
+
+       * include/sys/statvfs.h (statvfs, fstatvfs): Add libc_hidden_proto.
+       * sysdeps/generic/statvfs.c (statvfs): Add libc_hidden_def.
+       * sysdeps/generic/fstatvfs.c (fstatvfs): Likewise.
+       * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
+       * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Likewise.
+       * sysdeps/unix/sysv/linux/statvfs.c (statvfs): Likewise.
+       * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Likewise.
+
+       * include/unistd.h (tcgetpgrp): Add libc_hidden_proto.
+       * include/termios.h (tcsetattr, cfsetispeed, cfsetospeed): Likewise.
+       * sysdeps/generic/tcgetpgrp.c (tcgetpgrp): Add libc_hidden_def.
+       * sysdeps/generic/tcsetattr.c (tcsetattr): Likewise.
+       * sysdeps/generic/speed.c (cfsetispeed, cfsetospeed): Likewise.
+       * sysdeps/unix/bsd/bsd4.4/tcsetattr.c (tcgetpgrp): Likewise.
+       * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Likewise.
+       * sysdeps/unix/bsd/sun/sunos4/speed.c (cfsetispeed, cfsetospeed):
+       Likewise.
+       * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
+       * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
+       * sysdeps/unix/sysv/aix/tcsetattr.c (tcsetattr): Likewise.
+       * sysdeps/unix/sysv/aix/speed.c (cfsetispeed, cfsetospeed): Likewise.
+       * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
+       * sysdeps/unix/sysv/linux/speed.c (cfsetispeed, cfsetospeed): Likewise.
+       * sysdeps/unix/sysv/tcgetpgrp.c (tcgetpgrp): Likewise.
+       * sysdeps/unix/sysv/tcsetattr.c (tcsetattr): Likewise.
+
+       * include/string.h (strcoll): Add libc_hidden_proto.
+       * string/strcoll.c (strcoll): Add libc_hidden_def.
+
+       * misc/err.c (vwarn): Fix pasto in libc_hidden_def.
+
 2002-08-11  Philip Blundell  <philb@gnu.org>
 
        * sysdeps/arm/Makefile: New file.
index e965cf47527336eadd46d46140749ee15c1be626..c1df7acb93783bf1e7a36f838c90e911b0242a96 100644 (file)
@@ -72,6 +72,7 @@ libc_hidden_proto (__strndup)
 libc_hidden_proto (__strerror_r)
 libc_hidden_proto (__strverscmp)
 libc_hidden_proto (basename)
+libc_hidden_proto (strcoll)
 
 # ifndef _ISOMAC
 #  ifndef index
index 6dcf0d8e3a69accaa4d8bd640f1782927fd395da..2e2566d9ef571d1e0e03988d44037e49d2a4ca93 100644 (file)
@@ -11,14 +11,14 @@ extern __mode_t __umask (__mode_t __mask);
 extern int __mkdir (__const char *__path, __mode_t __mode);
 extern int __mknod (__const char *__path,
                    __mode_t __mode, __dev_t __dev);
-extern int __fxstat_internal (int __ver, int __fildes,
-                             struct stat *__stat_buf) attribute_hidden;
-extern int __fxstat64_internal (int __ver, int __fildes,
-                               struct stat64 *__stat_buf) attribute_hidden;
-extern int __lxstat_internal (int __ver, __const char *__file,
-                             struct stat *__stat_buf) attribute_hidden;
-extern int __lxstat64_internal (int __ver, __const char *__file,
-                               struct stat64 *__stat_buf) attribute_hidden;
+#if !defined NOT_IN_libc || defined IS_IN_rtld
+hidden_proto (__fxstat)
+hidden_proto (__fxstat64)
+hidden_proto (__lxstat)
+hidden_proto (__lxstat64)
+hidden_proto (__xstat)
+hidden_proto (__xstat64)
+#endif
 extern __inline__ int __stat (__const char *__path, struct stat *__statbuf)
 {
   return __xstat (_STAT_VER, __path, __statbuf);
@@ -41,22 +41,7 @@ extern __inline__ int __mknod (__const char *__path, __mode_t __mode,
 #define __lstat(fname, buf)  __lxstat (_STAT_VER, fname, buf)
 #define lstat64(fname, buf)  __lxstat64 (_STAT_VER, fname, buf)
 #define stat64(fname, buf) __xstat64 (_STAT_VER, fname, buf)
-#ifndef NOT_IN_libc
-# define fstat64(fd, buf) INTUSE(__fxstat64) (_STAT_VER, fd, buf)
-# define fstat(fd, buf) INTUSE(__fxstat) (_STAT_VER, fd, buf)
-# define __fstat(fd, buf)  INTUSE(__fxstat) (_STAT_VER, fd, buf)
-
-# define __fxstat(ver, fd, buf) INTUSE(__fxstat) (ver, fd, buf)
-# ifndef __fxstat64
-#  define __fxstat64(ver, fd, buf) INTUSE(__fxstat64) (ver, fd, buf)
-# endif
-# define __lxstat(ver, name, buf) INTUSE(__lxstat) (ver, name, buf)
-# ifndef __lxstat64
-#  define __lxstat64(ver, name, buf) INTUSE(__lxstat64) (ver, name, buf)
-# endif
-#else
-# define fstat64(fd, buf) __fxstat64 (_STAT_VER, fd, buf)
-# define fstat(fd, buf) __fxstat (_STAT_VER, fd, buf)
-# define __fstat(fd, buf) __fxstat (_STAT_VER, fd, buf)
-#endif
+#define fstat64(fd, buf) __fxstat64 (_STAT_VER, fd, buf)
+#define fstat(fd, buf) __fxstat (_STAT_VER, fd, buf)
+#define __fstat(fd, buf) __fxstat (_STAT_VER, fd, buf)
 #endif
index 40acf9db165f8097f082ec5e98e2dab20a2086fa..b3c6a35c647601f4affb177d9d29113abb5fb389 100644 (file)
@@ -4,4 +4,7 @@
 /* Now define the internal interfaces.  */
 extern int __statvfs64 (__const char *__file, struct statvfs64 *__buf);
 extern int __fstatvfs64 (int __fildes, struct statvfs64 *__buf);
+
+libc_hidden_proto (statvfs)
+libc_hidden_proto (fstatvfs)
 #endif
index e2b369feb18e97fcf7b3d4196a1b2e4d856b9299..8916f1434ff60de8989e980f19677a86163d6a8d 100644 (file)
@@ -6,4 +6,8 @@ extern int __tcgetattr (int __fd, struct termios *__termios_p);
 
 extern int __libc_tcdrain (int __fd);
 
+libc_hidden_proto (tcsetattr)
+libc_hidden_proto (cfsetispeed)
+libc_hidden_proto (cfsetospeed)
+
 #endif
index 675f12040f8db3ea86560a6e578aafccde93fef2..ec600afc7d57a11a4ce9311eb18a16cb348df72f 100644 (file)
@@ -12,7 +12,9 @@ libc_hidden_proto (getpid)
 libc_hidden_proto (getsid)
 libc_hidden_proto (getdomainname)
 libc_hidden_proto (getlogin_r)
-
+libc_hidden_proto (seteuid)
+libc_hidden_proto (setegid)
+libc_hidden_proto (tcgetpgrp)
 
 /* Now define the internal interfaces.  */
 extern int __access (__const char *__name, int __type);
index f04b2dc7a303c387b63fcb44c052effc462b0eaf..716f994517af6ab3b5cb6c2c4a40b0641966eccf 100644 (file)
@@ -142,7 +142,7 @@ vwarn (const char *format, __gnuc_va_list ap)
     }
   funlockfile (stderr);
 }
-libc_hidden_def (vwarnx)
+libc_hidden_def (vwarn)
 
 
 void
index 0f3bd20a7945dddb6027f7c041973240a5a1e0cf..3c5682d1cd39be7298e98deec31c257074effc36 100644 (file)
@@ -551,3 +551,6 @@ STRCOLL (s1, s2, l)
 
   return result;
 }
+#if !defined WIDE_CHAR_VERSION && !defined USE_IN_EXTENDED_LOCALE_MODEL
+libc_hidden_def (strcoll)
+#endif
index 82a8541d7ae3064103fac02e00ddcaf4dcf5e6ea..c5f75a7c97bf119c9e78f39891bdbcdf2b9735f7 100644 (file)
@@ -1,5 +1,5 @@
 /* Return information about the filesystem on which FD resides.
-   Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 1998, 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
@@ -28,6 +28,6 @@ __fstatvfs (int fd, struct statvfs *buf)
   return -1;
 }
 stub_warning (fstatvfs)
-
 weak_alias (__fstatvfs, fstatvfs)
+libc_hidden_weak (fstatvfs)
 #include <stub-tag.h>
index 6bff431dee4b09edeeee3e2de742706d36a7a3f2..b750daca63160245a3523c675d8dbc2ea4eea794 100644 (file)
@@ -20,8 +20,6 @@
 #include <stddef.h>
 #include <sys/stat.h>
 
-#undef __fxstat
-
 /* Get information about the file descriptor FD in BUF.  */
 int
 __fxstat (int vers, int fd, struct stat *buf)
@@ -47,7 +45,6 @@ __fxstat (int vers, int fd, struct stat *buf)
   return -1;
 }
 stub_warning (fstat)
-
-INTDEF(__fxstat)
+hidden_def (__fxstat)
 weak_alias (__fxstat, _fxstat)
 #include <stub-tag.h>
index bcc7265e18b1b8acdceae120b4923df80905f559..865ba494845a6ccdf912b8dce79fbaa417382a04 100644 (file)
@@ -20,8 +20,6 @@
 #include <stddef.h>
 #include <sys/stat.h>
 
-#undef __fxstat64
-
 /* Get information about the file descriptor FD in BUF.  */
 int
 __fxstat64 (int vers, int fd, struct stat64 *buf)
@@ -46,7 +44,6 @@ __fxstat64 (int vers, int fd, struct stat64 *buf)
   __set_errno (ENOSYS);
   return -1;
 }
+hidden_def (__fxstat64)
 stub_warning (fstat64)
 #include <stub-tag.h>
-
-INTDEF(__fxstat64)
index 6d1da8061ba47357e0ace2b17c2dc2605127ef52..23d4442b5c583cfd2981dfff7e816c6d57f83671 100644 (file)
 
 #include <sys/stat.h>
 
-#undef __lxstat
-
 int
 __lxstat (int version, const char *file, struct stat *buf)
 {
   return __xstat (version, file, buf);
 }
-
-INTDEF(__lxstat)
+hidden_def (__lxstat)
 weak_alias (__lxstat, _lxstat)
index 8eb457dc0781c0b27da538703b2935c576e26b6d..596ecd227712576edd4f69817bee2420a773e802 100644 (file)
@@ -20,8 +20,6 @@
 #include <stddef.h>
 #include <sys/stat.h>
 
-#undef __lxstat64
-
 /* Get file information about FILE in BUF.
    If FILE is a symbolic link, do not follow it.  */
 int
@@ -36,6 +34,6 @@ __lxstat64 (int vers, const char *file, struct stat64 *buf)
   __set_errno (ENOSYS);
   return -1;
 }
-INTDEF(__lxstat64)
+hidden_def (__lxstat64)
 stub_warning (__lxstat64)
 #include <stub-tag.h>
index 9f4c4f3a81939a69329f3d7c01ebb314e1a2fe35..b4acd62230a2842e0a9bc54013f883014380253d 100644 (file)
@@ -1,5 +1,5 @@
 /* `struct termios' speed frobnication functions.  4.4 BSD/generic GNU version.
-   Copyright (C) 1991, 1992, 1993, 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1991,1992,1993,1996,1997,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
@@ -52,6 +52,7 @@ cfsetospeed (termios_p, speed)
   termios_p->__ospeed = speed;
   return 0;
 }
+libc_hidden_def (cfsetospeed)
 
 /* Set the input baud rate stored in *TERMIOS_P to SPEED.  */
 int
@@ -68,3 +69,4 @@ cfsetispeed (termios_p, speed)
   termios_p->__ispeed = speed;
   return 0;
 }
+libc_hidden_def (cfsetispeed)
index d2641aafb710e05a98220576fae13f281dfd09ef..22e24cfeebfa0908167ecc910a0350059b27ff2c 100644 (file)
@@ -1,5 +1,5 @@
 /* Return information about the filesystem on which FILE resides.
-   Copyright (C) 1998 Free Software Foundation, Inc.
+   Copyright (C) 1998, 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
@@ -29,6 +29,6 @@ __statvfs (const char *file, struct statvfs *buf)
   return -1;
 }
 weak_alias (__statvfs, statvfs)
-
+libc_hidden_weak (statvfs)
 stub_warning (statvfs)
 #include <stub-tag.h>
index 06dbfa8b7e775492927f95c4cc0d41ee947c4234..2a1d846e751e633be41b767d469df2f63feacde7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 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
@@ -34,7 +34,6 @@ tcgetpgrp (fd)
   __set_errno (ENOSYS);
   return (pid_t) -1;
 }
-
-
+libc_hidden_def (tcgetpgrp)
 stub_warning (tcgetpgrp)
 #include <stub-tag.h>
index fc16d84aca669467c9cbe37a3060039002316941..205838c87bbc54f754aec8dcbda4d88c59d8d5d7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,95,96,2000,01 Free Software Foundation, Inc.
+/* Copyright (C) 1991,95,96,2000,01,02 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
@@ -58,7 +58,7 @@ tcsetattr (int fd, int optional_actions, const struct termios *termios_p)
   __set_errno (ENOSYS);
   return -1;
 }
-
+libc_hidden_def (tcsetattr)
 
 /* Strychnine checking.  */
 static int
index 11bb4ef7d6555f9cacbc1471993a15a71d37317b..e7328cc10e1666c230d3188f7f3ae008891979e6 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 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
@@ -33,7 +33,7 @@ __xstat (int vers, const char *file, struct stat *buf)
   __set_errno (ENOSYS);
   return -1;
 }
+hidden_def (__xstat)
 stub_warning (stat)
-
 weak_alias (__xstat, _xstat)
 #include <stub-tag.h>
index a6f726141d7420593de010e811357f04eba86469..2fb94cf3311d00cface98e7265a81a4ef14e3517 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 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
@@ -33,5 +33,6 @@ __xstat64 (int vers, const char *file, struct stat64 *buf)
   __set_errno (ENOSYS);
   return -1;
 }
+hidden_def (__xstat64)
 stub_warning (stat64)
 #include <stub-tag.h>
index 3cdb4a341353c65de8e68b8f04aad17e89d52b19..e1bab501a5b16a9f256b5494febbb42bda0fd481 100644 (file)
@@ -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
index 70e6d81e8185bf96ab8818b37c5aa4f1c644d798..a11abe89f4f85159876a746ebb56366aa51ad27d 100644 (file)
@@ -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)
index 28cfbbb37581efb669aa73c4a58a9cff850df91a..8a2520c5d4e8d48a7d9da6634c0e7527b14bc0ba 100644 (file)
@@ -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)
index c0d4767ec14747cbc99ed2f119522a2cc9ab12f2..c1390d1bb161057e4605cd918ca277d5dfafbc57 100644 (file)
@@ -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
index 9987e25f9b6e2a7a5f8575542950c08b712c8a22..d6d12798e8fe59bd92fb885b471ac3491967a436 100644 (file)
 
 #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)
index 6dabdb321ea89039b9250d2ec7ddd588cc6043cd..a53f6921e74e71d8e890c69ffdaf7de0754b4af6 100644 (file)
@@ -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)
index f4412f23040c4c2bac3807ae5b04f9c83ee56b3b..759a7cfe48d7befb6739fe9647412323fbb69304 100644 (file)
@@ -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)
index 2ae9598d0a49b1702c0d488f5e3a71588428efae..97719b082c442b0d395289ddddc83887d1d42cfb 100644 (file)
@@ -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)
index 3ca340007be3ddeb4ef490bcae6bfc176d25cda3..572ae4e59ecd66f3ba280371845ff7d4fc264bb2 100644 (file)
@@ -42,5 +42,6 @@ __xstat64 (int vers, const char *file, struct stat64 *buf)
     return __hurd_fail (err);
   return 0;
 }
+hidden_def (__xstat64)
 
 #endif
index 3444874eba3cd289d201fe50ead3cbfe033e3255..b3142f6a2bf1172282c9eeb6d898a1b770814112 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1994, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1994, 1997, 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
@@ -60,3 +60,4 @@ tcsetattr (fd, optional_actions, termios_p)
       return __ioctl (fd, TIOCSETAF, termios_p);
     }
 }
+libc_hidden_def (tcsetattr)
index dca3468929c1d7a3a67197a605c40fbfb1d5a15f..262d70fdfb81502a1c4c35ebe08ea3016ee2882a 100644 (file)
@@ -1,5 +1,5 @@
 /* `struct termios' speed frobnication functions.  SunOS 4 version.
-   Copyright (C) 1991, 1992, 1993, 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1991,1992,1993,1996,1997,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
@@ -87,6 +87,7 @@ cfsetospeed (termios_p, speed)
   __set_errno (EINVAL);
   return -1;
 }
+libc_hidden_def (cfsetospeed)
 
 /* Set the input baud rate stored in *TERMIOS_P to SPEED.  */
 int
@@ -114,3 +115,4 @@ cfsetispeed (termios_p, speed)
   __set_errno (EINVAL);
   return -1;
 }
+libc_hidden_def (cfsetispeed)
index d61e39284b354c113230cd9d9a2b7b21b9804d20..934c4c8cf8f755fb5335aea18d07490b159a0d83 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1996, 1997, 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
@@ -47,3 +47,4 @@ tcsetattr (fd, optional_actions, termios_p)
 
   return __ioctl (fd, cmd, termios_p);
 }
+libc_hidden_def (tcsetattr)
index 31ca703e6d1054abeb9d3d379a530c55ec67aeb8..0ccadef87aa2b0ef6c8cc427ae97f3a8d5820343 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1997, 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
@@ -32,3 +32,4 @@ tcgetpgrp (fd)
     return (pid_t) -1;
   return (pid_t) pgrp;
 }
+libc_hidden_def (tcgetpgrp)
index 420225a9345198920a4a24da6112842971304c45..fd390cd88fc38b595029059d0bf4963549f43d09 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1993, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1993, 1996, 1997, 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
@@ -185,3 +185,4 @@ tcsetattr (fd, optional_actions, termios_p)
     return -1;
   return 0;
 }
+libc_hidden_def (tcsetattr)
index 98bea40a7e8abbcbff542ed5551ca3135f8d8d08..88cc871206f8c5287cd17efe40f34cc78e02857e 100644 (file)
@@ -22,8 +22,6 @@
 #include <sys/stat.h>
 #include <bp-checks.h>
 
-#undef __lxstat
-
 extern int __syscall_lstat (const char *__unbounded, struct stat *__unbounded);
 
 int
@@ -37,5 +35,5 @@ __lxstat (int vers, const char *file, struct stat *buf)
 
   return __syscall_lstat (CHECK_STRING (file), CHECK_1 (buf));
 }
-INTDEF(__lxstat)
+hidden_def (__lxstat)
 weak_alias (__lxstat, _lxstat)
index 0081ee25d54db01bbfe3a88e1a81a533f1ed5b2f..687ce9aba134fa3580f7a9a084799c07104e0e96 100644 (file)
@@ -24,8 +24,6 @@
 
 extern int __syscall_fstat (int, struct stat *__unbounded);
 
-#undef __fxstat
-
 /* Get information about the file descriptor FD in BUF.  */
 int
 __fxstat (int vers, int fd, struct stat *buf)
@@ -38,5 +36,5 @@ __fxstat (int vers, int fd, struct stat *buf)
 
   return __syscall_fstat (fd, CHECK_1 (buf));
 }
-INTDEF(__fxstat)
+hidden_def (__fxstat)
 weak_alias (__fxstat, _fxstat)
index 4c1e145dcb89d0e09e50a80a1d955e3a78ec1dfb..1ba56f690f884ebaf2b18c7cb4987e61c6c03466 100644 (file)
 
 extern int fstatx (int fd, struct stat *st, int len, int cmd);
 
-#undef __fxstat
-
 int
 __fxstat (int ver, int fd, struct stat *st)
 {
   assert (ver == 0);
   return fstatx (fd, st, sizeof (*st), STX_NORMAL);
 }
-INTDEF(__fxstat)
+hidden_def (__fxstat)
index 509fb2c0cb89b123ec70f1a5d5dabb6c9f90bc2a..5f75e070c4225838bae6ee5bdb95b816f8e2b2b7 100644 (file)
 #define STX_NORMAL      0x00
 #define STX_64          0x08
 
-#undef __fxstat64
-
 extern int fstatx (int fd, struct stat64 *st, int len, int cmd);
 
-#undef __fxstat64
-
 int
 __fxstat64 (int ver, int fd, struct stat64 *st)
 {
   assert (ver == 0);
   return fstatx (fd, st, sizeof (*st), STX_NORMAL | STX_64);
 }
-INTDEF(__fxstat64)
+hidden_def (__fxstat64)
index 52562bd93406ffdd17535d23f534489196ae1e8c..879e80cbe8af6247d06976af394d9895ab20abec 100644 (file)
@@ -21,8 +21,6 @@
 
 #define STX_LINK        0x01
 
-#undef __lxstat
-
 extern int statx (const char *pathname, struct stat *st, int len, int cmd);
 
 int
@@ -31,5 +29,4 @@ __lxstat (int ver, const char *pathname, struct stat *st)
   assert (ver == 0);
   return statx (pathname, st, sizeof (*st), STX_LINK);
 }
-
-INTDEF(__lxstat)
+hidden_def (__lxstat)
index d68b4583d26d0abe328539ccb219c4172a089f70..73324fe55be53a0c7a1ce23eed4c45bf5d4fb11f 100644 (file)
@@ -22,8 +22,6 @@
 #define STX_LINK        0x01
 #define STX_64          0x08
 
-#undef __lxstat64
-
 extern int statx (const char *pathname, struct stat64 *st, int len, int cmd);
 
 int
@@ -32,5 +30,4 @@ __lxstat64 (int ver, const char *pathname, struct stat64 *st)
   assert (ver == 0);
   return statx (pathname, st, sizeof (*st), STX_LINK | STX_64);
 }
-
-INTDEF(__lxstat64)
+hidden_def (__lxstat64)
index c7fa51bb90a6ff5229c6c39e889bbf1622acc091..3a453a7bef892c66a0d3b8620e1c05c89fa45d27 100644 (file)
@@ -1,5 +1,5 @@
 /* `struct termios' speed frobnication functions.  AIX version.
-   Copyright (C) 2000 Free Software Foundation, Inc.
+   Copyright (C) 2000, 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
@@ -53,6 +53,8 @@ cfsetospeed (termios_p, speed)
   termios_p->c_cflag |= speed & 0x0000000f;
   return 0;
 }
+libc_hidden_def (cfsetospeed)
+
 
 /* Set the input baud rate stored in *TERMIOS_P to SPEED.  */
 int
@@ -70,3 +72,4 @@ cfsetispeed (termios_p, speed)
   termios_p->c_cflag |= (speed << 16) & ~0x000f0000;
   return 0;
 }
+libc_hidden_def (cfsetispeed)
index b11676e4c37ab458165d392573177fad7b7fb46f..8e78da1c2c138db87f51ab6928859e9c56f20c25 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1992,1995,1996,1997,2000,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
@@ -195,3 +195,4 @@ tcsetattr (fd, optional_actions, termios_p)
     return -1;
   return 0;
 }
+libc_hidden_def (tcsetattr)
index bf901e2f474230bfedf4a4db216c3d15948ad7ff..c76ad07999113b7783408e61594a0f68c0198843 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 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
@@ -21,7 +21,6 @@
 
 #define STX_NORMAL      0x00
 
-
 extern int statx (const char *pathname, struct stat *st, int len, int cmd);
 
 int
@@ -30,3 +29,4 @@ __xstat (int ver, const char *pathname, struct stat *st)
   assert (ver == 0);
   return statx (pathname, st, sizeof (*st), STX_NORMAL);
 }
+hidden_def (__xstat)
index 91f83175f3c1ba39a9911bb7c1523b36612d8235..cb1bea11824f53ae00e698f8a943fcf294a611a4 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 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
@@ -31,3 +31,4 @@ __xstat64 (int ver, const char *pathname, struct stat64 *st)
   assert (ver == 0);
   return statx (pathname, st, sizeof (*st), STX_NORMAL | STX_64);
 }
+hidden_def (__xstat64)
index 96b703fa826ce080b4ace43327d97035b27dc327..4452e50f818a005903d08f410f2ba34ab039c6a7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -43,3 +43,4 @@ fstatvfs (int fd, struct statvfs *buf)
   /* We signal success if the statfs call succeeded.  */
   return 0;
 }
+libc_hidden_def (fstatvfs)
index 95466269fbeb66ceaa313583042b5346fa0e73ea..78bcceb6e00878edfcf3cbdf68e3c385bd2f2b39 100644 (file)
@@ -20,7 +20,6 @@
 /* Ho hum, if xstat == xstat64 we must get rid of the prototype or gcc
    will complain since they don't strictly match.  */
 #define __fxstat64 __fxstat64_disable
-#define __fxstat64_internal __fxstat64_internal_disable
 
 #include <errno.h>
 #include <stddef.h>
@@ -36,8 +35,6 @@
 
 extern int __syscall_fstat (int, struct kernel_stat *__unbounded);
 
-#undef __fxstat
-
 /* Get information about the file FD in BUF.  */
 int
 __fxstat (int vers, int fd, struct stat *buf)
@@ -55,11 +52,10 @@ __fxstat (int vers, int fd, struct stat *buf)
   return result;
 }
 
-INTDEF(__fxstat)
+hidden_def (__fxstat)
 weak_alias (__fxstat, _fxstat);
 #ifdef XSTAT_IS_XSTAT64
 #undef __fxstat64
-#undef __fxstat64_internal
 strong_alias (__fxstat, __fxstat64);
-INTDEF(__fxstat64)
+hidden_ver (__fxstat, __fxstat64)
 #endif
index 2d9a6c17cc8c20e25686252a21b62adee8c1d2d9..e64d8dfacb5f06cebb743b44d0fa93bb28cef7d9 100644 (file)
@@ -43,7 +43,6 @@ extern int __have_no_stat64;
 #endif
 
 /* Get information about the file FD in BUF.  */
-extern int ___fxstat64 (int vers, int fd, struct stat64 *buf);
 
 int
 ___fxstat64 (int vers, int fd, struct stat64 *buf)
@@ -90,8 +89,6 @@ ___fxstat64 (int vers, int fd, struct stat64 *buf)
 
 versioned_symbol (libc, ___fxstat64, __fxstat64, GLIBC_2_2);
 
-INTDEF2(___fxstat64, __fxstat64)
-
 # if SHLIB_COMPAT(libc, GLIBC_2_1, GLIBC_2_2)
 strong_alias (___fxstat64, __old__fxstat64)
 compat_symbol (libc, __old__fxstat64, __fxstat64, GLIBC_2_1);
@@ -99,6 +96,5 @@ compat_symbol (libc, __old__fxstat64, __fxstat64, GLIBC_2_1);
 
 #else
 strong_alias (___fxstat64, __fxstat64);
-
-INTDEF(__fxstat64)
 #endif
+hidden_ver (___fxstat64, __fxstat64)
index 8a6de099d5312d76f5ab0bbc8bf2c853d14cbc38..86dbd711759e153f08ff6442b44e57445a4601a9 100644 (file)
@@ -44,8 +44,6 @@ extern int __have_no_stat64;
 # endif
 #endif
 
-#undef __fxstat
-
 /* Get information about the file FD in BUF.  */
 int
 __fxstat (int vers, int fd, struct stat *buf)
@@ -96,10 +94,10 @@ __fxstat (int vers, int fd, struct stat *buf)
 #endif  /* __ASSUME_STAT64_SYSCALL  */
 }
 
-INTDEF(__fxstat)
+hidden_def (__fxstat)
 weak_alias (__fxstat, _fxstat);
 #ifdef XSTAT_IS_XSTAT64
 #undef __fxstat64
 strong_alias (__fxstat, __fxstat64);
-INTDEF(__fxstat64)
+hidden_ver (__fxstat, __fxstat64)
 #endif
index 58a837ee1c91bdc05425d6f2a3d1bf5a7d168551..0da6312fa4952d5ef5fcbce80035ddd03d3b3143 100644 (file)
@@ -34,8 +34,6 @@
 
 #include <xstatconv.c>
 
-#undef __lxstat
-
 extern int __syscall_lstat (const char *__unbounded,
                            struct kernel_stat *__unbounded);
 
@@ -98,10 +96,10 @@ __lxstat (int vers, const char *name, struct stat *buf)
 #endif
 }
 
-INTDEF(__lxstat)
+hidden_def (__lxstat)
 weak_alias (__lxstat, _lxstat);
 #ifdef XSTAT_IS_XSTAT64
 #undef __lxstat64
-INTDEF(__lxstat64)
 strong_alias (__lxstat, __lxstat64);
+hidden_ver (__lxstat, __lxstat64)
 #endif
index 1e99d7ecef805921582559efec42368b89eef50b..cc383ec2fb9b56e459fa3c47e39ec5db252f1faf 100644 (file)
@@ -1,5 +1,5 @@
 /* xstat using old-style Unix stat system call.
-   Copyright (C) 1991,95,96,97,98,2000 Free Software Foundation, Inc.
+   Copyright (C) 1991,95,96,97,98,2000,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
@@ -94,9 +94,10 @@ __xstat (int vers, const char *name, struct stat *buf)
   return result;
 #endif  /* __ASSUME_STAT64_SYSCALL  */
 }
-
+hidden_def (__xstat)
 weak_alias (__xstat, _xstat);
 #ifdef XSTAT_IS_XSTAT64
 # undef __xstat64
 strong_alias (__xstat, __xstat64);
+hidden_ver (__xstat, __xstat64)
 #endif
index 297762e27601922e255f7f3a994f62c5ef2e1096..b40240199227e9ba5f05b5d58d2cbf76292bf516 100644 (file)
 /* Ho hum, since xstat == xstat64 we must get rid of the prototype or gcc
    will complain since they don't strictly match.  */
 #define __fxstat64 __fxstat64_disable
-#define __fxstat64_internal __fxstat64_internal_disable
-/* To avoid the optimizations of using _internal functions define
-   NOT_IN_libc.  */
-#define NOT_IN_libc    1
 
 #include <errno.h>
 #include <stddef.h>
@@ -35,9 +31,6 @@
 
 extern int __syscall_fstat (int, struct stat *__unbounded);
 
-#undef __fxstat
-#undef __fxstat64_internal
-
 /* Get information about the file FD in BUF.  */
 int
 __fxstat (int vers, int fd, struct stat *buf)
@@ -45,8 +38,8 @@ __fxstat (int vers, int fd, struct stat *buf)
   return INLINE_SYSCALL (fstat, 2, fd, CHECK_1 (buf));
 }
 
-INTDEF(__fxstat)
+hidden_def (__fxstat)
 weak_alias (__fxstat, _fxstat);
 #undef __fxstat64
 strong_alias (__fxstat, __fxstat64);
-INTDEF(__fxstat64)
+hidden_ver (__fxstat, __fxstat64)
index 19f9af025938ae57d82ce571fac8502993c81582..97b3a24e01bbddc19d4bd2459b0a3f9fa16da3e1 100644 (file)
 /* Ho hum, since xstat == xstat64 we must get rid of the prototype or gcc
    will complain since they don't strictly match.  */
 #define __lxstat64 __lxstat64_disable
-#define __lxstat64_internal __lxstat64_internal_disable
-/* To avoid the optimizations of using _internal functions define
-   NOT_IN_libc.  */     
-#define NOT_IN_libc    1
 
 #include <errno.h>
 #include <stddef.h>
@@ -33,9 +29,6 @@
 #include <sys/syscall.h>
 #include <bp-checks.h>
 
-#undef __lxstat
-#undef __lxstat64_internal
-
 extern int __syscall_lstat (const char *__unbounded, struct stat *__unbounded);
 
 /* Get information about the file FD in BUF.  */
@@ -45,8 +38,8 @@ __lxstat (int vers, const char *name, struct stat *buf)
   return INLINE_SYSCALL (lstat, 2, CHECK_STRING (name), CHECK_1 (buf));
 }
 
-INTDEF(__lxstat)
+hidden_def (__lxstat)
 weak_alias (__lxstat, _lxstat);
 #undef __lxstat64
 strong_alias (__lxstat, __lxstat64);
-INTDEF(__lxstat64)
+hidden_ver (__lxstat, __lxstat64)
index f8cdd86d269a84655184909893285ee51328b198..63d1192efbb88ac7c22d1d9fc21c282e7110c40b 100644 (file)
@@ -1,5 +1,5 @@
 /* xstat using old-style Unix stat system call.
-   Copyright (C) 1991, 95, 96, 97, 98, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1991,95,96,97,98,2000,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
@@ -37,7 +37,8 @@ __xstat (int vers, const char *name, struct stat *buf)
 {
   return INLINE_SYSCALL (stat, 2, name, CHECK_1 (buf));
 }
-
+hidden_def (__xstat)
 weak_alias (__xstat, _xstat);
 #undef __xstat64
 strong_alias (__xstat, __xstat64);
+hidden_ver (__xstat, __xstat64)
index af9176f4d52a3ca57eb597c68570e342f83b80d3..9de85f56991b00c542a312b7587f61f229a0c04b 100644 (file)
@@ -20,7 +20,6 @@
 /* Ho hum, if xstat == xstat64 we must get rid of the prototype or gcc
    will complain since they don't strictly match.  */
 #define __lxstat64 __lxstat64_disable
-#define __lxstat64_internal __lxstat64_internal_disable
 
 #include <errno.h>
 #include <stddef.h>
@@ -33,8 +32,6 @@
 
 #include <xstatconv.c>
 
-#undef __lxstat
-
 extern int __syscall_lstat (const char *__unbounded,
                            struct kernel_stat *__unbounded);
 
@@ -56,11 +53,10 @@ __lxstat (int vers, const char *name, struct stat *buf)
   return result;
 }
 
-INTDEF(__lxstat)
+hidden_def (__lxstat)
 weak_alias (__lxstat, _lxstat);
 #ifdef XSTAT_IS_XSTAT64
 #undef __lxstat64
-#undef __lxstat64_internal
 strong_alias (__lxstat, __lxstat64);
-INTDEF(__lxstat64)
+hidden_ver (__lxstat, __lxstat64)
 #endif
index 6191af272496a080685009e19181e0f5c35f83fd..0a2920001428b304d5fe38d47195a1c722f612ad 100644 (file)
@@ -32,8 +32,6 @@
 # include <xstatconv.c>
 #endif
 
-#undef __lxstat64
-
 extern int __syscall_lstat (const char *__unbounded,
                            struct kernel_stat *__unbounded);
 
@@ -47,8 +45,6 @@ extern int __have_no_stat64;
 #endif
 
 /* Get information about the file NAME in BUF.  */
-extern int ___lxstat64 (int vers, const char *name, struct stat64 *buf);
-
 int
 ___lxstat64 (int vers, const char *name, struct stat64 *buf)
 {
@@ -102,4 +98,4 @@ compat_symbol (libc, __old__lxstat64, __lxstat64, GLIBC_2_1);
 #else
 strong_alias (___lxstat64, __lxstat64);
 #endif
-INTDEF2(___lxstat64, __lxstat64)
+hidden_ver (___lxstat64, __lxstat64)
index 36d38751ad87aa610f38f4f40fdf0a611920439e..95ed437943d30a162e286ea97fc50ab1bfe19f0c 100644 (file)
@@ -30,8 +30,6 @@
 
 extern int __syscall_fstat (int, struct stat *);
 
-#undef __fxstat
-
 /* Get information about the file FD in BUF.  */
 int
 __fxstat (int vers, int fd, struct stat *buf)
@@ -39,8 +37,8 @@ __fxstat (int vers, int fd, struct stat *buf)
   return INLINE_SYSCALL (fstat, 2, fd, buf);
 }
 
-INTDEF(__fxstat)
+hidden_def (__fxstat)
 weak_alias (__fxstat, _fxstat);
 #undef __fxstat64
 strong_alias (__fxstat, __fxstat64);
-INTDEF(__fxstat64)
+hidden_ver (__fxstat, __fxstat64)
index 5a86fc177a6e94f0f9ded1f4255f9fcbe874e5ce..3bcc4bede04555290e93ddfd87427659610bf705 100644 (file)
@@ -28,8 +28,6 @@
 #include <sysdep.h>
 #include <sys/syscall.h>
 
-#undef __lxstat
-
 extern int __syscall_lstat (const char *, struct stat *);
 
 /* Get information about the file FD in BUF.  */
@@ -39,8 +37,8 @@ __lxstat (int vers, const char *name, struct stat *buf)
   return INLINE_SYSCALL (lstat, 2, name, buf);
 }
 
-INTDEF(__lxstat)
+hidden_def (__lxstat)
 weak_alias (__lxstat, _lxstat);
 #undef __lxstat64
-INTDEF(__lxstat64)
 strong_alias (__lxstat, __lxstat64);
+hidden_ver (__lxstat, __lxstat64)
index d2e3e108ac723a3f755433863dadca4313009755..9283dd8b5183236de30aae047b249352bccc86e9 100644 (file)
@@ -1,5 +1,5 @@
 /* xstat using old-style Unix stat system call.  64 bit S/390 version.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 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
@@ -36,7 +36,8 @@ __xstat (int vers, const char *name, struct stat *buf)
 {
   return INLINE_SYSCALL (stat, 2, name, buf);
 }
-
+hidden_def (__xstat)
 weak_alias (__xstat, _xstat);
 #undef __xstat64
 strong_alias (__xstat, __xstat64);
+hidden_ver (__xstat, __xstat64)
index 74c660e04c7ace72d259ac16e2f278764f24fb70..a6a03a0c63a5375ee7e249c59bb82c51ab12cf42 100644 (file)
@@ -1,5 +1,5 @@
 /* `struct termios' speed frobnication functions.  Linux version.
-   Copyright (C) 1991, 92, 93, 95, 96, 97, 98, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1991,92,93,95,96,97,98,2000,02 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
@@ -71,6 +71,8 @@ cfsetospeed  (termios_p, speed)
 
   return 0;
 }
+libc_hidden_def (cfsetospeed)
+
 
 /* Set the input baud rate stored in *TERMIOS_P to SPEED.
    Although for Linux there is no difference between input and output
@@ -99,3 +101,4 @@ cfsetispeed (termios_p, speed)
 
   return 0;
 }
+libc_hidden_def (cfsetispeed)
index d681a6b0d30588b1ce309603a159a0b7ab657a83..9992d7757fbd179e7b74a5d7edf3ebccf91667e5 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2000, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -43,3 +43,4 @@ statvfs (const char *file, struct statvfs *buf)
   /* We signal success if the statfs call succeeded.  */
   return 0;
 }
+libc_hidden_def (statvfs)
index b0f29946e3f21a96ec9e28dce6ccc544c77f7217..031cad7add1e5616e344767c5db47f327b7c998b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1996, 1997, 1998, 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
@@ -118,3 +118,4 @@ tcsetattr (fd, optional_actions, termios_p)
 
   return retval;
 }
+libc_hidden_def (tcsetattr)
index 93d63aa36daf33540f8e13de3399ceafd26a06e1..5f936388db07c2668788ee6d529f8d5e5291c287 100644 (file)
@@ -1,5 +1,6 @@
 /* xstat using old-style Unix stat system call.
-   Copyright (C) 1991, 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1991, 1995, 1996, 1997, 1998, 2000, 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
@@ -52,9 +53,10 @@ __xstat (int vers, const char *name, struct stat *buf)
 
   return result;
 }
-
+hidden_def (__xstat)
 weak_alias (__xstat, _xstat);
 #ifdef XSTAT_IS_XSTAT64
 #undef __xstat64
 strong_alias (__xstat, __xstat64);
+hidden_ver (__xstat, __xstat64)
 #endif
index c40378458b096dcbd799a38cc46bd57c4621df41..388ff8fa688a38dc2dd6003133feb50df94d3d89 100644 (file)
@@ -47,9 +47,6 @@ int __have_no_stat64;
 
 /* Get information about the file NAME in BUF.  */
 
-int
-___xstat64 (int vers, const char *name, struct stat64 *buf);
-
 int
 ___xstat64 (int vers, const char *name, struct stat64 *buf)
 {
@@ -104,3 +101,4 @@ compat_symbol (libc, __old__xstat64, __xstat64, GLIBC_2_1);
 #else
 strong_alias (___xstat64, __xstat64);
 #endif
+hidden_ver (___xstat64, __xstat64)
index 2771e9236addb8830c461446f7ce2b4e7a40c6ca..4f64eac6382c5c3b8849eff393c9c495a3d47c87 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1997, 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
@@ -33,3 +33,4 @@ tcgetpgrp (fd)
     return (pid_t) -1;
   return (pid_t) pgrp;
 }
+libc_hidden_def (tcgetpgrp)
index 5a446e4db9679fda2e77973b9697837a1d3e86fb..d39ac76a3984e62311d336594f45d1d3d19050fa 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995, 1996, 1997, 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
@@ -207,3 +207,4 @@ tcsetattr (fd, optional_actions, termios_p)
     return -1;
   return 0;
 }
+libc_hidden_def (tcsetattr)
index 11a7af098aa70b51beac2f177ad9d934e9f2a369..f54c3d4df09f128e98dfdbf37bc5427226aeecfc 100644 (file)
@@ -1,5 +1,5 @@
 /* xstat using old-style Unix stat system call.
-   Copyright (C) 1991, 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1991,1995,1996,1997,2000,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
@@ -35,4 +35,5 @@ __xstat (int vers, const char *file, struct stat *buf)
 
   return __syscall_stat (CHECK_STRING (file), CHECK_1 (buf));
 }
+hidden_def (__xstat)
 weak_alias (__xstat, _xstat)