diff options
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/bsd/getpt.c | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/aix/init-first.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/init-first.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/ptsname.c | 6 |
4 files changed, 8 insertions, 8 deletions
diff --git a/sysdeps/unix/bsd/getpt.c b/sysdeps/unix/bsd/getpt.c index 10676811c3..f4a6b17f00 100644 --- a/sysdeps/unix/bsd/getpt.c +++ b/sysdeps/unix/bsd/getpt.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. +/* Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Zack Weinberg <zack@rabi.phys.columbia.edu>, 1998. @@ -31,13 +31,13 @@ #ifndef PTYNAME1 #define PTYNAME1 "pqrsPQRS" #endif -const char __libc_ptyname1[] = PTYNAME1; +const char __libc_ptyname1[] attribute_hidden = PTYNAME1; /* Letters indicating the position within a series. */ #ifndef PTYNAME2 #define PTYNAME2 "0123456789abcdefghijklmnopqrstuv"; #endif -const char __libc_ptyname2[] = PTYNAME2; +const char __libc_ptyname2[] attribute_hidden = PTYNAME2; /* Open a master pseudo terminal and return its file descriptor. */ diff --git a/sysdeps/unix/sysv/aix/init-first.c b/sysdeps/unix/sysv/aix/init-first.c index 7b4773b633..4c6768b8ad 100644 --- a/sysdeps/unix/sysv/aix/init-first.c +++ b/sysdeps/unix/sysv/aix/init-first.c @@ -42,7 +42,7 @@ weak_extern (_dl_starting_up) /* Set nonzero if we have to be prepared for more then one libc being used in the process. Safe assumption if initializer never runs. */ -int __libc_multiple_libcs = 1; +int __libc_multiple_libcs attribute_hidden = 1; /* Remember the command line argument and enviroment contents for later calls of initializers for dynamic libraries. */ diff --git a/sysdeps/unix/sysv/linux/init-first.c b/sysdeps/unix/sysv/linux/init-first.c index 9dbf2062ab..bc501c053d 100644 --- a/sysdeps/unix/sysv/linux/init-first.c +++ b/sysdeps/unix/sysv/linux/init-first.c @@ -41,7 +41,7 @@ weak_extern (_dl_starting_up) /* Set nonzero if we have to be prepared for more then one libc being used in the process. Safe assumption if initializer never runs. */ -int __libc_multiple_libcs = 1; +int __libc_multiple_libcs attribute_hidden = 1; /* Remember the command line argument and enviroment contents for later calls of initializers for dynamic libraries. */ diff --git a/sysdeps/unix/sysv/linux/ptsname.c b/sysdeps/unix/sysv/linux/ptsname.c index ec578b3c95..084e573260 100644 --- a/sysdeps/unix/sysv/linux/ptsname.c +++ b/sysdeps/unix/sysv/linux/ptsname.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc. +/* Copyright (C) 1998, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Zack Weinberg <zack@rabi.phys.columbia.edu>, 1998. @@ -50,8 +50,8 @@ #define _PATH_DEVPTS "/dev/pts/" /* The are declared in getpt.c. */ -extern const char __libc_ptyname1[]; -extern const char __libc_ptyname2[]; +extern const char __libc_ptyname1[] attribute_hidden; +extern const char __libc_ptyname2[] attribute_hidden; /* Static buffer for `ptsname'. */ static char buffer[sizeof (_PATH_DEVPTS) + 20]; |