From a29db458e3521fef9e40b8e6cdaded15a8dd936f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 16 Aug 2004 08:51:53 +0000 Subject: * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): Remove __RUSAGE_BOTH constant and RUSAGE_BOTH macro. * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. --- ChangeLog | 8 ++++++++ sysdeps/unix/sysv/linux/alpha/bits/resource.h | 6 +----- sysdeps/unix/sysv/linux/bits/resource.h | 6 +----- sysdeps/unix/sysv/linux/mips/bits/resource.h | 6 +----- sysdeps/unix/sysv/linux/sparc/bits/resource.h | 6 +----- 5 files changed, 12 insertions(+), 20 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9821c24873..7bbe24a9c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-08-15 Roland McGrath + + * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): + Remove __RUSAGE_BOTH constant and RUSAGE_BOTH macro. + * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. + 2004-08-15 Roland McGrath * sysdeps/i386/i686/Makefile (elide-routines.os): Append hp-timing to diff --git a/sysdeps/unix/sysv/linux/alpha/bits/resource.h b/sysdeps/unix/sysv/linux/alpha/bits/resource.h index 868fd7b462..54d6819412 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/resource.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/resource.h @@ -147,12 +147,8 @@ enum __rusage_who #define RUSAGE_SELF RUSAGE_SELF /* All of its terminated child processes. */ - RUSAGE_CHILDREN = -1, + RUSAGE_CHILDREN = -1 #define RUSAGE_CHILDREN RUSAGE_CHILDREN - - /* Both. */ - __RUSAGE_BOTH = -2 -#define RUSAGE_BOTH __RUSAGE_BOTH }; #define __need_timeval diff --git a/sysdeps/unix/sysv/linux/bits/resource.h b/sysdeps/unix/sysv/linux/bits/resource.h index c85ddcb69f..c186a3a5d0 100644 --- a/sysdeps/unix/sysv/linux/bits/resource.h +++ b/sysdeps/unix/sysv/linux/bits/resource.h @@ -147,12 +147,8 @@ enum __rusage_who #define RUSAGE_SELF RUSAGE_SELF /* All of its terminated child processes. */ - RUSAGE_CHILDREN = -1, + RUSAGE_CHILDREN = -1 #define RUSAGE_CHILDREN RUSAGE_CHILDREN - - /* Both. */ - __RUSAGE_BOTH = -2 -#define RUSAGE_BOTH __RUSAGE_BOTH }; #define __need_timeval diff --git a/sysdeps/unix/sysv/linux/mips/bits/resource.h b/sysdeps/unix/sysv/linux/mips/bits/resource.h index 40fc949d57..2b6c887fd0 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/resource.h +++ b/sysdeps/unix/sysv/linux/mips/bits/resource.h @@ -147,12 +147,8 @@ enum __rusage_who #define RUSAGE_SELF RUSAGE_SELF /* All of its terminated child processes. */ - RUSAGE_CHILDREN = -1, + RUSAGE_CHILDREN = -1 #define RUSAGE_CHILDREN RUSAGE_CHILDREN - - /* Both. */ - __RUSAGE_BOTH = -2 -#define RUSAGE_BOTH __RUSAGE_BOTH }; #define __need_timeval diff --git a/sysdeps/unix/sysv/linux/sparc/bits/resource.h b/sysdeps/unix/sysv/linux/sparc/bits/resource.h index fb2eed3cd0..ed31b0e89c 100644 --- a/sysdeps/unix/sysv/linux/sparc/bits/resource.h +++ b/sysdeps/unix/sysv/linux/sparc/bits/resource.h @@ -163,12 +163,8 @@ enum __rusage_who #define RUSAGE_SELF RUSAGE_SELF /* All of its terminated child processes. */ - RUSAGE_CHILDREN = -1, + RUSAGE_CHILDREN = -1 #define RUSAGE_CHILDREN RUSAGE_CHILDREN - - /* Both. */ - __RUSAGE_BOTH = -2 -#define RUSAGE_BOTH __RUSAGE_BOTH }; #define __need_timeval -- cgit v1.2.3