about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-08-16 08:51:53 +0000
committerRoland McGrath <roland@gnu.org>2004-08-16 08:51:53 +0000
commita29db458e3521fef9e40b8e6cdaded15a8dd936f (patch)
treea53e235cd0011707ca186a686305ab6336f80a29 /sysdeps/unix
parent813d9c0dd88261e538c56be2acf54f3dff2f369b (diff)
downloadglibc-a29db458e3521fef9e40b8e6cdaded15a8dd936f.tar.gz
glibc-a29db458e3521fef9e40b8e6cdaded15a8dd936f.tar.xz
glibc-a29db458e3521fef9e40b8e6cdaded15a8dd936f.zip
* 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.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/bits/resource.h6
-rw-r--r--sysdeps/unix/sysv/linux/bits/resource.h6
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/resource.h6
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/resource.h6
4 files changed, 4 insertions, 20 deletions
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