about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/powerpc/pread.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-19 21:47:42 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-19 21:47:42 +0000
commit9197f26fd5948b29616a4183c00d8e2898712a05 (patch)
tree47918dc0f00cfb5807cdca2fc7a47dd2f3444d3b /sysdeps/unix/sysv/linux/powerpc/pread.c
parent762e5d483128d9dd06d22b52c5b8a918753673ca (diff)
downloadglibc-9197f26fd5948b29616a4183c00d8e2898712a05.tar.gz
glibc-9197f26fd5948b29616a4183c00d8e2898712a05.tar.xz
glibc-9197f26fd5948b29616a4183c00d8e2898712a05.zip
Update.
1999-12-19  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
	cancelation wrapper.
	* sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/pread.c')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/pread.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/pread.c b/sysdeps/unix/sysv/linux/powerpc/pread.c
index 28d157496a..0222615578 100644
--- a/sysdeps/unix/sysv/linux/powerpc/pread.c
+++ b/sysdeps/unix/sysv/linux/powerpc/pread.c
@@ -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>