diff options
author | Carlos O'Donell <carlos@redhat.com> | 2013-04-07 16:13:02 -0400 |
---|---|---|
committer | Carlos O'Donell <carlos@redhat.com> | 2013-04-07 16:13:02 -0400 |
commit | 96497bb806e4a3f7105cd1b742c1cd4686780553 (patch) | |
tree | f85989621fcded1b3b38ac16779ce315494b707d /nptl/sysdeps/unix/sysv/linux/sem_post.c | |
parent | 085b2d41a45e9b8cf9f78876a10ca0869dbc64fd (diff) | |
download | glibc-96497bb806e4a3f7105cd1b742c1cd4686780553.tar glibc-96497bb806e4a3f7105cd1b742c1cd4686780553.tar.gz glibc-96497bb806e4a3f7105cd1b742c1cd4686780553.tar.bz2 glibc-96497bb806e4a3f7105cd1b742c1cd4686780553.zip |
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.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/sem_post.c')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/sem_post.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/sem_post.c b/nptl/sysdeps/unix/sysv/linux/sem_post.c index 6d3657c36a..622c7b0b0c 100644 --- a/nptl/sysdeps/unix/sysv/linux/sem_post.c +++ b/nptl/sysdeps/unix/sysv/linux/sem_post.c @@ -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> |