From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 46511 invoked by alias); 29 Jun 2017 15:01:50 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 45920 invoked by uid 89); 29 Jun 2017 15:01:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.suse.de From: Andreas Schwab To: Adhemerval Zanella Cc: libc-alpha@sourceware.org Subject: Re: [PATCH 4/5] Consolidate Linux fcntl implementation References: <1495563960-669-1-git-send-email-adhemerval.zanella@linaro.org> <1495563960-669-5-git-send-email-adhemerval.zanella@linaro.org> X-Yow: I didn't order any WOO-WOO... Maybe a YUBBA.. But no WOO-WOO! Date: Thu, 29 Jun 2017 15:01:00 -0000 In-Reply-To: <1495563960-669-5-git-send-email-adhemerval.zanella@linaro.org> (Adhemerval Zanella's message of "Tue, 23 May 2017 15:25:59 -0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2017-06/txt/msg01552.txt.bz2 On Mai 23 2017, Adhemerval Zanella wrote: > * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file. > * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise. > * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise. > * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. > * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise. > * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise. > * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise. > * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise. > * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise. > * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise. > * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise. > * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise. > * sysdeps/unix/sysv/linux/fcntl.c: New file. That's not a new file. > * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to > use default implementation. > diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c > index 85ae8a2..d382d08 100644 > --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c > +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c > @@ -15,51 +15,18 @@ > License along with the GNU C Library; if not, see > . */ > > -#include > -#include > -#include /* Must come before . */ > +#include > #include > -#include > > -#include > - > - > -#ifndef NO_CANCELLATION > -int > -__fcntl_nocancel (int fd, int cmd, ...) > +static inline int > +__libc_fcntl_adjust_cmd (int cmd) No need for __libc prefix, since this is static. Ok with those changes. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."