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:
Carlos O'Donell 2013-04-07 16:13:02 -04:00
parent 085b2d41a4
commit 96497bb806
2 changed files with 5 additions and 0 deletions

View 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]

View 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>