* debug/pread64_chk.c: Use __libc_pread64 instead of __pread64.
authorUlrich Drepper <drepper@redhat.com>
Tue, 14 Jun 2005 15:55:44 +0000 (15:55 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 14 Jun 2005 15:55:44 +0000 (15:55 +0000)
* sysdeps/posix/posix_fallocate64.c: Likewise.
* include/string.h: Use libc_hidden_proto for strnlen.
* sysdeps/generic/strnlen.c: Add libc_hidden_def.
* include/libintl.h: Use libc_hidden_proto for __dcgettext.
* intl/dcgettext.c: Add libc_hidden_def.
* include/execinfo.h: Add libc_hidden_proto for __backtrace and
__backtrace_symbols_fd.
* sysdeps/generic/backtrace.c: Add libc_hidden_def.
* sysdeps/generic/backtracesymsfd.c: Likewise.
* sysdeps/generic/elf/backtracesymsfd.c: Likewise.
* sysdeps/i386/backtrace.c: Likewise.
* sysdeps/ia64/backtrace.c: Likewise.
* sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
* sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
* sysdeps/s390/s390-32/backtrace.c: Likewise.
* sysdeps/s390/s390-64/backtrace.c: Likewise.

17 files changed:
ChangeLog
debug/pread64_chk.c
include/execinfo.h
include/libintl.h
include/string.h
intl/dcgettext.c
sysdeps/generic/backtrace.c
sysdeps/generic/backtracesymsfd.c
sysdeps/generic/elf/backtracesymsfd.c
sysdeps/generic/strnlen.c
sysdeps/i386/backtrace.c
sysdeps/ia64/backtrace.c
sysdeps/posix/posix_fallocate64.c
sysdeps/powerpc/powerpc32/backtrace.c
sysdeps/powerpc/powerpc64/backtrace.c
sysdeps/s390/s390-32/backtrace.c
sysdeps/s390/s390-64/backtrace.c

index bb60555..38071b4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+2005-06-14  Ulrich Drepper  <drepper@redhat.com>
+
+       * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64.
+       * sysdeps/posix/posix_fallocate64.c: Likewise.
+       * include/string.h: Use libc_hidden_proto for strnlen.
+       * sysdeps/generic/strnlen.c: Add libc_hidden_def.
+       * include/libintl.h: Use libc_hidden_proto for __dcgettext.
+       * intl/dcgettext.c: Add libc_hidden_def.
+       * include/execinfo.h: Add libc_hidden_proto for __backtrace and
+       __backtrace_symbols_fd.
+       * sysdeps/generic/backtrace.c: Add libc_hidden_def.
+       * sysdeps/generic/backtracesymsfd.c: Likewise.
+       * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
+       * sysdeps/i386/backtrace.c: Likewise.
+       * sysdeps/ia64/backtrace.c: Likewise.
+       * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
+       * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
+       * sysdeps/s390/s390-32/backtrace.c: Likewise.
+       * sysdeps/s390/s390-64/backtrace.c: Likewise.
+
 2005-06-13  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/unix/clock_gettime.c (clock_gettime): Implement case
index 4958881..318579f 100644 (file)
@@ -26,5 +26,5 @@ __pread64_chk (int fd, void *buf, size_t nbytes, off64_t offset, size_t buflen)
   if (nbytes > buflen)
     __chk_fail ();
 
-  return __pread64 (fd, buf, nbytes, offset);
+  return __libc_pread64 (fd, buf, nbytes, offset);
 }
index 143a9cc..840a081 100644 (file)
@@ -2,10 +2,12 @@
 #include <debug/execinfo.h>
 
 extern int __backtrace (void **__array, int __size);
+libc_hidden_proto (__backtrace)
 
 extern char **__backtrace_symbols (void *__const *__array, int __size);
 
 extern void __backtrace_symbols_fd (void *__const *__array, int __size,
                                    int __fd);
+libc_hidden_proto (__backtrace_symbols_fd)
 
 #endif
index 20083d4..8875c94 100644 (file)
@@ -11,6 +11,7 @@ extern char *__dgettext (__const char *__domainname,
 extern char *__dcgettext (__const char *__domainname,
                          __const char *__msgid, int __category)
      __attribute_format_arg__ (2);
+libc_hidden_proto (__dcgettext)
 extern char *__dcgettext_internal (__const char *__domainname,
                                   __const char *__msgid, int __category)
      __attribute_format_arg__ (2)
index 738dd8e..532d5ed 100644 (file)
@@ -96,6 +96,7 @@ libc_hidden_builtin_proto (strcmp)
 libc_hidden_builtin_proto (strcpy)
 libc_hidden_builtin_proto (strcspn)
 libc_hidden_builtin_proto (strlen)
+libc_hidden_builtin_proto (strnlen)
 libc_hidden_builtin_proto (strncmp)
 libc_hidden_builtin_proto (strncpy)
 libc_hidden_builtin_proto (strpbrk)
index 55f81eb..edf98b6 100644 (file)
@@ -1,5 +1,5 @@
 /* Implementation of the dcgettext(3) function.
-   Copyright (C) 1995-1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1995-2002, 2005 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
@@ -57,4 +57,5 @@ DCGETTEXT (domainname, msgid, category)
 /* Alias for function name in GNU C Library.  */
 INTDEF(__dcgettext)
 weak_alias (__dcgettext, dcgettext);
+libc_hidden_def (__dcgettext)
 #endif
index 6a3336c..f2d5237 100644 (file)
@@ -1,5 +1,5 @@
 /* Return backtrace of current program state.  Generic version.
-   Copyright (C) 1998, 2000, 2002, 2004 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2000, 2002, 2004, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -91,3 +91,4 @@ __backtrace (array, size)
   return cnt;
 }
 weak_alias (__backtrace, backtrace)
+libc_hidden_def (__backtrace)
index c704362..b01f8b0 100644 (file)
@@ -1,5 +1,5 @@
 /* Write formatted list with names for addresses in backtrace to a file.
-   Copyright (C) 1998, 2003 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2003, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -61,3 +61,4 @@ __backtrace_symbols_fd (array, size, fd)
     }
 }
 weak_alias (__backtrace_symbols_fd, backtrace_symbols_fd)
+libc_hidden_def (__backtrace_symbols_fd)
index 16df538..6754d14 100644 (file)
@@ -1,5 +1,5 @@
 /* Write formatted list with names for addresses in backtrace to a file.
-   Copyright (C) 1998, 2000, 2003 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2000, 2003, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -107,3 +107,4 @@ __backtrace_symbols_fd (array, size, fd)
     }
 }
 weak_alias (__backtrace_symbols_fd, backtrace_symbols_fd)
+libc_hidden_def (__backtrace_symbols_fd)
index c83520e..454257b 100644 (file)
@@ -1,5 +1,5 @@
 /* Find the length of STRING, but scan at most MAXLEN characters.
-   Copyright (C) 1991, 1993, 1997, 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1991,1993,1997,2000,2001,2005 Free Software Foundation, Inc.
    Contributed by Jakub Jelinek <jakub@redhat.com>.
 
    Based on strlen written by Torbjorn Granlund (tege@sics.se),
@@ -158,3 +158,4 @@ __strnlen (const char *str, size_t maxlen)
   return char_ptr - str;
 }
 weak_alias (__strnlen, strnlen)
+libc_hidden_def (strnlen)
index cb75303..8b61913 100644 (file)
@@ -1,5 +1,5 @@
 /* Return backtrace of current program state.
-   Copyright (C) 1998, 2000, 2003, 2004 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -141,3 +141,4 @@ __backtrace (array, size)
   return arg.cnt != -1 ? arg.cnt : 0;
 }
 weak_alias (__backtrace, backtrace)
+libc_hidden_def (__backtrace)
index efacccc..3f2b75e 100644 (file)
@@ -1,5 +1,5 @@
 /* Return backtrace of current program state.
-   Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
 
@@ -90,3 +90,4 @@ __backtrace (array, size)
   return arg.cnt != -1 ? arg.cnt : 0;
 }
 weak_alias (__backtrace, backtrace)
+libc_hidden_def (__backtrace)
index 91e71b7..64ca9ae 100644 (file)
@@ -76,7 +76,7 @@ __posix_fallocate64_l64 (int fd, __off64_t offset, __off64_t len)
       if (offset < st.st_size)
        {
          unsigned char c;
-         ssize_t rsize = __pread64 (fd, &c, 1, offset);
+         ssize_t rsize = __libc_pread64 (fd, &c, 1, offset);
 
          if (rsize < 0)
            return errno;
@@ -86,7 +86,7 @@ __posix_fallocate64_l64 (int fd, __off64_t offset, __off64_t len)
            continue;
        }
 
-      if (__pwrite64 (fd, "", 1, offset) != 1)
+      if (__libc_pwrite64 (fd, "", 1, offset) != 1)
        return errno;
     }
 
index 118f0d6..e7e1254 100644 (file)
@@ -1,5 +1,5 @@
 /* Return backtrace of current program state.
-   Copyright (C) 1998, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2000, 2005 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
@@ -64,3 +64,4 @@ __backtrace (void **array, int size)
   return count;
 }
 weak_alias (__backtrace, backtrace)
+libc_hidden_def (__backtrace)
index 8669b6a..9c8ebbb 100644 (file)
@@ -1,5 +1,5 @@
 /* Return backtrace of current program state.
-   Copyright (C) 1998, 2000, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2000, 2002, 2005 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
@@ -67,3 +67,4 @@ __backtrace (void **array, int size)
   return count;
 }
 weak_alias (__backtrace, backtrace)
+libc_hidden_def (__backtrace)
index 7a63257..6adc3bc 100644 (file)
@@ -1,6 +1,6 @@
 /* Return backtrace of current program state.
-   Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
-   Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
+   Copyright (C) 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
+   Contributed by Martin Schwidefsky <schwidefsky@de.ibm.com>.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -142,3 +142,4 @@ __backtrace (void **array, int size)
 }
 
 weak_alias (__backtrace, backtrace)
+libc_hidden_def (__backtrace)
index 0532134..7ba195c 100644 (file)
@@ -1,6 +1,6 @@
 /* Return backtrace of current program state.  64 bit S/390 version.
-   Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc.
-   Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
+   Copyright (C) 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
+   Contributed by Martin Schwidefsky <schwidefsky@de.ibm.com>.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -141,3 +141,4 @@ __backtrace (void **array, int size)
 }
 
 weak_alias (__backtrace, backtrace)
+libc_hidden_def (__backtrace)