From: Ulrich Drepper Date: Mon, 27 Dec 1999 06:19:51 +0000 (+0000) Subject: Define __libc_* variant for cancelation wrapper. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5790c4567326e12d304de5ec34e3122868fa1405;p=thirdparty%2Fglibc.git Define __libc_* variant for cancelation wrapper. --- diff --git a/sysdeps/unix/sysv/linux/powerpc/pread.c b/sysdeps/unix/sysv/linux/powerpc/pread.c index 28d157496a0..02226155789 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 , 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 diff --git a/sysdeps/unix/sysv/linux/powerpc/pread64.c b/sysdeps/unix/sysv/linux/powerpc/pread64.c index 6fc3a02b6ee..42fc022e72d 100644 --- a/sysdeps/unix/sysv/linux/powerpc/pread64.c +++ b/sysdeps/unix/sysv/linux/powerpc/pread64.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 , 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 diff --git a/sysdeps/unix/sysv/linux/powerpc/pwrite.c b/sysdeps/unix/sysv/linux/powerpc/pwrite.c index fea67c5167a..7fc99c9a4ee 100644 --- a/sysdeps/unix/sysv/linux/powerpc/pwrite.c +++ b/sysdeps/unix/sysv/linux/powerpc/pwrite.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 , 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 diff --git a/sysdeps/unix/sysv/linux/powerpc/pwrite64.c b/sysdeps/unix/sysv/linux/powerpc/pwrite64.c index 4677dea34d7..47d25a3eb30 100644 --- a/sysdeps/unix/sysv/linux/powerpc/pwrite64.c +++ b/sysdeps/unix/sysv/linux/powerpc/pwrite64.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 , 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