aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-01-08 10:16:12 +0000
committerJakub Jelinek <jakub@redhat.com>2009-01-08 10:16:12 +0000
commit960af8c249a98e335c77eaea28964879c12c0c44 (patch)
treefff15f06ec3f69cd56fd8b40cfd2b9a45df5a0bc
parent76c7f2cd8a68653b4fd60c1f12bf0b8b824209f1 (diff)
downloadglibc-960af8c249a98e335c77eaea28964879c12c0c44.zip
glibc-960af8c249a98e335c77eaea28964879c12c0c44.tar.gz
glibc-960af8c249a98e335c77eaea28964879c12c0c44.tar.bz2
* sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): Avoid comma after RUSAGE_CHILDREN if not -D_GNU_SOURCE. * sysdeps/unix/sysv/linux/sparc/bits/resource.h (enum __rusage_who): Likewise. 2009-01-08 Jakub Jelinek <jakub@redhat.com> [BZ #9720] * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): Avoid comma after RUSAGE_CHILDREN if not -D_GNU_SOURCE. * sysdeps/unix/sysv/linux/sparc/bits/resource.h (enum __rusage_who): Likewise.
-rw-r--r--ChangeLog8
-rw-r--r--sysdeps/unix/sysv/linux/bits/resource.h5
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/resource.h5
3 files changed, 14 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 17e987b..30f939a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-01-08 Jakub Jelinek <jakub@redhat.com>
+
+ [BZ #9720]
+ * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): Avoid
+ comma after RUSAGE_CHILDREN if not -D_GNU_SOURCE.
+ * sysdeps/unix/sysv/linux/sparc/bits/resource.h (enum __rusage_who):
+ Likewise.
+
2009-01-05 Paolo Bonzini <bonzini@gnu.org>
[BZ 697]
diff --git a/sysdeps/unix/sysv/linux/bits/resource.h b/sysdeps/unix/sysv/linux/bits/resource.h
index 95d64ed..cb3acf1 100644
--- a/sysdeps/unix/sysv/linux/bits/resource.h
+++ b/sysdeps/unix/sysv/linux/bits/resource.h
@@ -1,5 +1,5 @@
/* Bit values & structures for resource limits. Linux version.
- Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2004, 2005
+ Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2004, 2005, 2008, 2009
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -158,10 +158,11 @@ 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
#ifdef __USE_GNU
+ ,
/* The calling thread. */
RUSAGE_THREAD = 1
# define RUSAGE_THREAD RUSAGE_THREAD
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/resource.h b/sysdeps/unix/sysv/linux/sparc/bits/resource.h
index 22c087d..6e4fc97 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/resource.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/resource.h
@@ -1,5 +1,5 @@
/* Bit values & structures for resource limits. Linux/SPARC version.
- Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2004, 2005
+ Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2004, 2005, 2008, 2009
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -174,10 +174,11 @@ 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
#ifdef __USE_GNU
+ ,
/* The calling thread. */
RUSAGE_THREAD = 1
# define RUSAGE_THREAD RUSAGE_THREAD