]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
authorJoseph Myers <joseph@codesourcery.com>
Mon, 12 Jan 2009 16:45:43 +0000 (16:45 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 12 Jan 2009 16:45:43 +0000 (16:45 +0000)
__rusage_who): Avoid comma after RUSAGE_CHILDREN if not
-D_GNU_SOURCE.

ChangeLog.mips
sysdeps/unix/sysv/linux/mips/bits/resource.h

index 49b7167a4a6b85148bd5730b7df53fc54d4e1aa2..8d8d38ebe0957b024e81e42ce2f8456a9e19b5ae 100644 (file)
@@ -1,3 +1,9 @@
+2009-01-12  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
+       __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
+       -D_GNU_SOURCE.
+
 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
index 3cfdc5dbefd88c2ce722b5817e7235d02f14ed2c..39d17d74f7614a2f4dca577fd6d25b996fdd0919 100644 (file)
@@ -1,6 +1,6 @@
 /* Bit values & structures for resource limits.  Linux/MIPS version.
-   Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2004, 2005, 2006
-   Free Software Foundation, Inc.
+   Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2004, 2005, 2006, 2008,
+   2009 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -166,10 +166,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