mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
sem_post.c: Include atomic.h.
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.
This commit is contained in:
parent
085b2d41a4
commit
96497bb806
@ -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]
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user