aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-08-16 08:51:46 +0000
committerRoland McGrath <roland@gnu.org>2004-08-16 08:51:46 +0000
commitca5c03379c8a56e0e2eadcaf5f1a2b276503e385 (patch)
tree53ac4a2e7d7594697d83ea42d538156dbdae7268
parent0bec0145c4854228a95d3e83da5d2647d3f145d3 (diff)
downloadglibc-ca5c03379c8a56e0e2eadcaf5f1a2b276503e385.tar.xz
glibc-ca5c03379c8a56e0e2eadcaf5f1a2b276503e385.zip
2004-08-15 Roland McGrath <roland@redhat.com>
* 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.
-rw-r--r--sysdeps/unix/sysv/linux/alpha/bits/resource.h6
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/resource.h6
2 files changed, 2 insertions, 10 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/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