]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
sem_post.c: Include atomic.h.
authorCarlos O'Donell <carlos@redhat.com>
Sun, 7 Apr 2013 20:13:02 +0000 (16:13 -0400)
committerCarlos O'Donell <carlos@redhat.com>
Sun, 7 Apr 2013 20:13:02 +0000 (16:13 -0400)
The sem_post.c file uses atomic functions without including
atomic.h. Add `#include <atomic.h>' to the file to prevent
any compile time warnings when other headers change and
atomic.h isn't implicitly included.

---
nptl/

2013-04-07  Carlos O'Donell  <carlos@redhat.com>

* sysdeps/unix/sysv/linux/sem_post.c: Include atomic.h.

nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/sem_post.c

index 505f9af38cd9c9dc1332716e93e2ecb5b7036162..517dfeffb1fa5578e420d88dd6d235b6eecd6df6 100644 (file)
@@ -1,3 +1,7 @@
+2013-04-07  Carlos O'Donell  <carlos@redhat.com>
+
+       * sysdeps/unix/sysv/linux/sem_post.c: Include atomic.h.
+
 2013-04-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
        [BZ #15337]
index 6d3657c36ab2be1c9d723917d8063248cc883383..622c7b0b0c3bd44d82b7f911f0ec02e60e9fca8f 100644 (file)
@@ -17,6 +17,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <atomic.h>
 #include <errno.h>
 #include <sysdep.h>
 #include <lowlevellock.h>