This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Cleanup ppc bits/ipc.h


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  <murphyp@linux.vnet.ibm.com>

	[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
-- 
2.4.3


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]