diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-07-18 20:19:14 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-07-18 20:19:14 -0400 |
commit | 298711ffe475d2401e8037fd89538228e35ee79a (patch) | |
tree | 73865abc1a969edad727d875ad470e2ae66de930 | |
parent | f9d683894df1de8d72280771993affef5f77c6e2 (diff) | |
download | glibc-298711ffe475d2401e8037fd89538228e35ee79a.tar glibc-298711ffe475d2401e8037fd89538228e35ee79a.tar.gz glibc-298711ffe475d2401e8037fd89538228e35ee79a.tar.bz2 glibc-298711ffe475d2401e8037fd89538228e35ee79a.zip |
Fix typos in pretty much unused code in sched.h header.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | bits/sched.h | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/sched.h | 2 |
3 files changed, 11 insertions, 3 deletions
@@ -1,5 +1,13 @@ 2011-07-18 Ulrich Drepper <drepper@gmail.com> + * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo. + +2011-07-15 Marek Polacek <mpolacek@redhat.com> + + * bits/sched.h (__CPU_EQUAL_S): Fix a typo. + +2011-07-18 Ulrich Drepper <drepper@gmail.com> + * po/nl.po: Update from translation team. * po/sv.po: Likewise. diff --git a/bits/sched.h b/bits/sched.h index 9a22ae3922..6fb5ab2205 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 b222fb2115..6b1431dd97 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 |