]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix typos in pretty much unused code in sched.h header.
authorUlrich Drepper <drepper@gmail.com>
Tue, 19 Jul 2011 00:19:14 +0000 (20:19 -0400)
committerUlrich Drepper <drepper@gmail.com>
Tue, 19 Jul 2011 00:19:14 +0000 (20:19 -0400)
ChangeLog
bits/sched.h
sysdeps/unix/sysv/linux/bits/sched.h

index a6bc75429e957d0d1713ba788866ddf56443a813..3de90108af35782daa83234985b2dcba4916dc52 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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.
index 9a22ae3922e42e979cc4e6acbde55d4ba4c58d7e..6fb5ab2205725cc0263ff676a92a375cef94e472 100644 (file)
@@ -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
index b222fb2115b043823b6bfb81ca582c903c26f0ca..6b1431dd97e8011db8309c139fa24b2a0a00c7bf 100644 (file)
@@ -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