]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* 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 bb605556e1b275538d7781e89ddfb1649b391458..38071b43809add9e2fcdbfab8430c7c357a4ecbc 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 495888145571262d92caa92a30a57c56168fa6a5..318579f0b5399202f1f12b80d0c8959dd695305a 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 143a9cc4ce3382d7e3ff8f2d15416ef8c10ac40c..840a0818cba4bc204eab1cd184c73a80531a386e 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 20083d42649d61c484a31b18253bac1183846d0d..8875c9444f431b1871aca6ca54c32a4e7b6518c5 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 738dd8e27c83b0a1b3ac40acc80c663cc32a7d1d..532d5ed33300a07a826838dc5449a4f08554d700 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 55f81eb8874a5db40dfa17c37ef79d4efbd6b29d..edf98b69735d674be4075373b4df3b6c61dabd73 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 6a3336c6d222745dd4e31cc3ef37da60629cc81e..f2d52372d52854b2af45b3e026c36614b6ab86ed 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 c704362ec700370bd7feb614243823ad884212c5..b01f8b0094524d2ac7d1b8093733d5b53d387b83 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 16df53883cae19ad87f901e283802ad660819122..6754d145b01d270fdeb4f3f37e6ff06157c77f9c 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 c83520e3495cf71ab115ba29e9bd9362d00fbc33..454257b2bcc881525e4bc6901ef80c5fc27d088c 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 cb7530396bd11b6d0f0cd4b6d2807dbc68205b0a..8b61913dde968b0c9dc0c3a5cb8c90a0442d52ea 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 efacccce15a7d22fc10a22152690308f78afa72d..3f2b75ec03a980aa2eb9530c944ff1198d62b68b 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 91e71b74ac47cff366b9690bd76441fa74358d06..64ca9ae83d49f149ffd9110cd4f161b87c953704 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 118f0d61752516b91c8c89984971d3295046fa47..e7e12544c53e1b3fe6739e3f501da5e18bfd4369 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 8669b6a689961cc4f1569d7115291c9cd728090c..9c8ebbb18db8062976beb581cef59d1dbce6b5db 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 7a632572b597b746426825d7de7b7a4aa910b875..6adc3bc3d17c2fba51db2df2409014e4c16c9b4d 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 05321349ca66d0d566be35d57944cbb152505c69..7ba195cb7ae59815389e78e05e01a99ace7101d0 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)