From: Ulrich Drepper Date: Tue, 19 Jul 2011 00:19:14 +0000 (-0400) Subject: Fix typos in pretty much unused code in sched.h header. X-Git-Tag: glibc-2.15~459 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=298711ffe475d2401e8037fd89538228e35ee79a;p=thirdparty%2Fglibc.git Fix typos in pretty much unused code in sched.h header. --- diff --git a/ChangeLog b/ChangeLog index a6bc75429e9..3de90108af3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-07-18 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo. + +2011-07-15 Marek Polacek + + * bits/sched.h (__CPU_EQUAL_S): Fix a typo. + 2011-07-18 Ulrich Drepper * po/nl.po: Update from translation team. diff --git a/bits/sched.h b/bits/sched.h index 9a22ae3922e..6fb5ab22057 100644 --- a/bits/sched.h +++ b/bits/sched.h @@ -1,6 +1,6 @@ /* Definitions of constants and data structure for POSIX 1003.1b-1993 scheduling interface. - Copyright (C) 1996-1999,2001-2003,2005,2006,2007,2008,2009 + Copyright (C) 1996-1999,2001-2003,2005,2006,2007,2008,2009,2011 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -120,7 +120,7 @@ typedef struct size_t __imax = (setsize) / sizeof (__cpu_mask); \ size_t __i; \ for (__i = 0; __i < __imax; ++__i) \ - if (__bits[__i] != __bits[__i]) \ + if (__arr1[__i] != __arr2[__i]) \ break; \ __i == __imax; })) # endif diff --git a/sysdeps/unix/sysv/linux/bits/sched.h b/sysdeps/unix/sysv/linux/bits/sched.h index b222fb2115b..6b1431dd97e 100644 --- a/sysdeps/unix/sysv/linux/bits/sched.h +++ b/sysdeps/unix/sysv/linux/bits/sched.h @@ -179,7 +179,7 @@ typedef struct size_t __imax = (setsize) / sizeof (__cpu_mask); \ size_t __i; \ for (__i = 0; __i < __imax; ++__i) \ - if (__bits[__i] != __bits[__i]) \ + if (__arr1[__i] != __arr2[__i]) \ break; \ __i == __imax; })) # endif