From patchwork Tue Jan 19 17:05:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. Murphy" X-Patchwork-Id: 10453 Received: (qmail 89419 invoked by alias); 19 Jan 2016 17:06:27 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 89404 invoked by uid 89); 19 Jan 2016 17:06:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=multiplexed, Hx-languages-length:1589, Cleanup, 243 X-HELO: e37.co.us.ibm.com X-IBM-Helo: d03dlp03.boulder.ibm.com X-IBM-MailFrom: murphyp@linux.vnet.ibm.com X-IBM-RcptTo: libc-alpha@sourceware.org From: "Paul E. Murphy" Subject: [PATCH] Cleanup ppc bits/ipc.h To: "libc-alpha@sourceware.org" , Tulio Magno Quites Machado Filho Message-ID: <569E6CE5.3020909@linux.vnet.ibm.com> Date: Tue, 19 Jan 2016 11:05:41 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16011917-0025-0000-0000-000020893784 Ages ago (commit e9dcb08) the ipc syscalls were inlined and eventually abstracted away any need for direct __ipc calls. 2016-01-19 Paul E. Murphy [BZ #18560] * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove. (IPCOP_semop): Likewise. (IPCOP_semget): Likewise. (IPCOP_semctl): Likewise. (IPCOP_msgsnd): Likewise. (IPCOP_msgrcv): Likewise. (IPCOP_msgget): Likewise. (IPCOP_msgctl): Likewise. (IPCOP_shmat): Likewise. (IPCOP_shmdt): Likewise. (IPCOP_shmget): Likewise. (IPCOP_shmctl): Likewise. --- sysdeps/unix/sysv/linux/powerpc/bits/ipc.h | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/ipc.h b/sysdeps/unix/sysv/linux/powerpc/bits/ipc.h index 9502bf9..5a87ac3 100644 --- a/sysdeps/unix/sysv/linux/powerpc/bits/ipc.h +++ b/sysdeps/unix/sysv/linux/powerpc/bits/ipc.h @@ -52,27 +52,3 @@ struct ipc_perm __uint64_t __glibc_reserved1; __uint64_t __glibc_reserved2; }; - - -__BEGIN_DECLS - -/* The actual system call: all functions are multiplexed by this. */ -extern int __ipc (int __call, int __first, int __second, int __third, - void *__ptr) __THROW; - -__END_DECLS - -#ifdef __USE_GNU -/* The codes for the functions to use the multiplexer `__ipc'. */ -# define IPCOP_semop 1 -# define IPCOP_semget 2 -# define IPCOP_semctl 3 -# define IPCOP_msgsnd 11 -# define IPCOP_msgrcv 12 -# define IPCOP_msgget 13 -# define IPCOP_msgctl 14 -# define IPCOP_shmat 21 -# define IPCOP_shmdt 22 -# define IPCOP_shmget 23 -# define IPCOP_shmctl 24 -#endif