aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-03-13 08:59:47 +0000
committerUlrich Drepper <drepper@redhat.com>2002-03-13 08:59:47 +0000
commit6455d2556c3fdedb3dac163c2b0a11192aaf18d6 (patch)
tree346b418b75772613f7b09e9175c4298c9e32de73 /sysdeps
parentab26a24a1721e03c3fc43b9ee437b0735b875c45 (diff)
downloadglibc-6455d2556c3fdedb3dac163c2b0a11192aaf18d6.tar
glibc-6455d2556c3fdedb3dac163c2b0a11192aaf18d6.tar.gz
glibc-6455d2556c3fdedb3dac163c2b0a11192aaf18d6.tar.bz2
glibc-6455d2556c3fdedb3dac163c2b0a11192aaf18d6.zip
Update.
2002-03-13 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ttyname.c: Comment out definition and use of __ttyname. * posix/regcomp.c (__re_error_msgid): Renamed from re_error_msgid. Define as hidden. (__re_error_msgid_idx): Renamed from re_error_msgid_idx. Define as hidden. Change all users of these variables. * posix/regex_internal.h (__re_error_msgid): Renamed from re_error_msgid. Declare as hidden. (__re_error_msgid_idx): Renamed from re_error_msgid_idx. Declare as hidden. * stdio-common/reg-printf.c (__printf_arginfo_table): Define as hidden. (__printf_function_table): Likewise. * stdio-common/printf-parse.h (__printf_arginfo_table): Declare as hidden. (__printf_function_table): Likewise. * nscd/nscd_proto.h: Declare __nss_not_use_nscd_passwd, __nss_not_use_nscd_group, and __nss_not_use_nscd_hosts as hidden. * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Define as hidden. * nss/nsswitch.c: Declare _nss_*_database as hidden. * stdlib/wctomb.c (__no_r_state): Declare as hidden. * stdlib/mbtowc.c (__no_r_state): Define as hidden.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/ttyname.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/ttyname.c b/sysdeps/unix/sysv/linux/ttyname.c
index 5e9c807c77..b5e73bf1af 100644
--- a/sysdeps/unix/sysv/linux/ttyname.c
+++ b/sysdeps/unix/sysv/linux/ttyname.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,92,93,1996-1999,2000,2001 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,93,1996-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
@@ -28,7 +28,10 @@
#include <stdio-common/_itoa.h>
+#if 0
+/* Is this used anywhere? It is not exported. */
char *__ttyname;
+#endif
static char *getttyname (const char *dev, dev_t mydev,
ino64_t myino, int save, int *dostat)
@@ -85,7 +88,9 @@ getttyname (const char *dev, dev_t mydev, ino64_t myino, int save, int *dostat)
)
{
(void) __closedir (dirstream);
+#if 0
__ttyname = getttyname_name;
+#endif
__set_errno (save);
return getttyname_name;
}