]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define __libc_* variant for cancelation wrapper.
authorUlrich Drepper <drepper@redhat.com>
Mon, 27 Dec 1999 06:19:51 +0000 (06:19 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 27 Dec 1999 06:19:51 +0000 (06:19 +0000)
sysdeps/unix/sysv/linux/powerpc/pread.c
sysdeps/unix/sysv/linux/powerpc/pread64.c
sysdeps/unix/sysv/linux/powerpc/pwrite.c
sysdeps/unix/sysv/linux/powerpc/pwrite64.c

index 28d157496a034d8bb3b2eb28e7207a963bcbe241..022261557890a40796fb060688943b0458b7bf84 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -33,7 +33,7 @@ static ssize_t __emulate_pread (int fd, void *buf, size_t count,
 
 
 ssize_t
-__pread (fd, buf, count, offset)
+__libc_pread (fd, buf, count, offset)
      int fd;
      void *buf;
      size_t count;
@@ -50,9 +50,10 @@ __pread (fd, buf, count, offset)
   return result;
 }
 
-weak_alias (__pread, pread)
+strong_alias (__libc_pread, __pread)
+weak_alias (__libc_pread, pread)
 
-#define __pread(fd, buf, count, offset) \
+#define __libc_pread(fd, buf, count, offset) \
      static internal_function __emulate_pread (fd, buf, count, offset)
 #endif
 #include <sysdeps/posix/pread.c>
index 6fc3a02b6eedae70b92568a44ac5e1fa983e9be5..42fc022e72d0f1b9a782a2c24180d62c515b74c5 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -33,7 +33,7 @@ static ssize_t __emulate_pread64 (int fd, void *buf, size_t count,
 
 
 ssize_t
-__pread64 (fd, buf, count, offset)
+__libc_pread64 (fd, buf, count, offset)
      int fd;
      void *buf;
      size_t count;
@@ -50,9 +50,10 @@ __pread64 (fd, buf, count, offset)
   return result;
 }
 
-weak_alias (__pread64, pread64)
+strong_alias (__libc_pread64, __pread64)
+weak_alias (__libc_pread64, pread64)
 
-#define __pread64(fd, buf, count, offset) \
+#define __libc_pread64(fd, buf, count, offset) \
      static internal_function __emulate_pread64 (fd, buf, count, offset)
 #endif
 #include <sysdeps/posix/pread64.c>
index fea67c5167a37b8c5abf29c12c52f7b8d26b901f..7fc99c9a4ee1d613a4ee4c6c08bb7624cc3319bf 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -33,7 +33,7 @@ static ssize_t __emulate_pwrite (int fd, const void *buf, size_t count,
 
 
 ssize_t
-__pwrite (fd, buf, count, offset)
+__libc_pwrite (fd, buf, count, offset)
      int fd;
      const void *buf;
      size_t count;
@@ -50,9 +50,10 @@ __pwrite (fd, buf, count, offset)
   return result;
 }
 
-weak_alias (__pwrite, pwrite)
+strong_alias (__libc_pwrite, __pwrite)
+weak_alias (__libc_pwrite, pwrite)
 
-#define __pwrite(fd, buf, count, offset) \
+#define __libc_pwrite(fd, buf, count, offset) \
      static internal_function __emulate_pwrite (fd, buf, count, offset)
 #endif
 #include <sysdeps/posix/pwrite.c>
index 4677dea34d756449638c8b3d3f7e8ecb5fdc45d6..47d25a3eb30d1a3f9f08e7d9dd45fe4698e48fa6 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -33,7 +33,7 @@ static ssize_t __emulate_pwrite64 (int fd, const void *buf, size_t count,
 
 
 ssize_t
-__pwrite64 (fd, buf, count, offset)
+__libc_pwrite64 (fd, buf, count, offset)
      int fd;
      const void *buf;
      size_t count;
@@ -50,9 +50,10 @@ __pwrite64 (fd, buf, count, offset)
   return result;
 }
 
-weak_alias (__pwrite64, pwrite64)
+strong_alias (__libc_pwrite64, __pwrite64)
+weak_alias (__libc_pwrite64, pwrite64)
 
-#define __pwrite64(fd, buf, count, offset) \
+#define __libc_pwrite64(fd, buf, count, offset) \
      static internal_function __emulate_pwrite64 (fd, buf, count, offset)
 #endif
 #include <sysdeps/posix/pwrite64.c>