about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/fstatvfs.c4
-rw-r--r--sysdeps/generic/fxstat.c5
-rw-r--r--sysdeps/generic/fxstat64.c5
-rw-r--r--sysdeps/generic/lxstat.c5
-rw-r--r--sysdeps/generic/lxstat64.c4
-rw-r--r--sysdeps/generic/speed.c4
-rw-r--r--sysdeps/generic/statvfs.c4
-rw-r--r--sysdeps/generic/tcgetpgrp.c5
-rw-r--r--sysdeps/generic/tcsetattr.c4
-rw-r--r--sysdeps/generic/xstat.c4
-rw-r--r--sysdeps/generic/xstat64.c3
11 files changed, 19 insertions, 28 deletions
diff --git a/sysdeps/generic/fstatvfs.c b/sysdeps/generic/fstatvfs.c
index 82a8541d7a..c5f75a7c97 100644
--- a/sysdeps/generic/fstatvfs.c
+++ b/sysdeps/generic/fstatvfs.c
@@ -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>
diff --git a/sysdeps/generic/fxstat.c b/sysdeps/generic/fxstat.c
index 6bff431dee..b750daca63 100644
--- a/sysdeps/generic/fxstat.c
+++ b/sysdeps/generic/fxstat.c
@@ -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>
diff --git a/sysdeps/generic/fxstat64.c b/sysdeps/generic/fxstat64.c
index bcc7265e18..865ba49484 100644
--- a/sysdeps/generic/fxstat64.c
+++ b/sysdeps/generic/fxstat64.c
@@ -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)
diff --git a/sysdeps/generic/lxstat.c b/sysdeps/generic/lxstat.c
index 6d1da8061b..23d4442b5c 100644
--- a/sysdeps/generic/lxstat.c
+++ b/sysdeps/generic/lxstat.c
@@ -18,13 +18,10 @@
 
 #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)
diff --git a/sysdeps/generic/lxstat64.c b/sysdeps/generic/lxstat64.c
index 8eb457dc07..596ecd2277 100644
--- a/sysdeps/generic/lxstat64.c
+++ b/sysdeps/generic/lxstat64.c
@@ -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>
diff --git a/sysdeps/generic/speed.c b/sysdeps/generic/speed.c
index 9f4c4f3a81..b4acd62230 100644
--- a/sysdeps/generic/speed.c
+++ b/sysdeps/generic/speed.c
@@ -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)
diff --git a/sysdeps/generic/statvfs.c b/sysdeps/generic/statvfs.c
index d2641aafb7..22e24cfeeb 100644
--- a/sysdeps/generic/statvfs.c
+++ b/sysdeps/generic/statvfs.c
@@ -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>
diff --git a/sysdeps/generic/tcgetpgrp.c b/sysdeps/generic/tcgetpgrp.c
index 06dbfa8b7e..2a1d846e75 100644
--- a/sysdeps/generic/tcgetpgrp.c
+++ b/sysdeps/generic/tcgetpgrp.c
@@ -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>
diff --git a/sysdeps/generic/tcsetattr.c b/sysdeps/generic/tcsetattr.c
index fc16d84aca..205838c87b 100644
--- a/sysdeps/generic/tcsetattr.c
+++ b/sysdeps/generic/tcsetattr.c
@@ -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
diff --git a/sysdeps/generic/xstat.c b/sysdeps/generic/xstat.c
index 11bb4ef7d6..e7328cc10e 100644
--- a/sysdeps/generic/xstat.c
+++ b/sysdeps/generic/xstat.c
@@ -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>
diff --git a/sysdeps/generic/xstat64.c b/sysdeps/generic/xstat64.c
index a6f726141d..2fb94cf331 100644
--- a/sysdeps/generic/xstat64.c
+++ b/sysdeps/generic/xstat64.c
@@ -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>