summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-26 19:47:38 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-27 16:35:31 +0100
commit3506b44a80d3e38904d5c6cd76085c16ad3a165c (patch)
treeec4ac407619c67e9e0a9fc98b5f8c722fbd3b317 /libpthread
parent11cf4e80748af05dd6c8f1d30609a5485bf28372 (diff)
microblaze: fixup gcc warnings
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/microblaze/lowlevellock.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/microblaze/lowlevellock.h b/libpthread/nptl/sysdeps/unix/sysv/linux/microblaze/lowlevellock.h
index e8dce9ddb..5b06e6fd1 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/microblaze/lowlevellock.h
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/microblaze/lowlevellock.h
@@ -78,8 +78,8 @@
#define lll_futex_timed_wait(futexp, val, timespec, private) \
({ \
- INTERNAL_SYSCALL_DECL (__err); \
long int __sysret; \
+ INTERNAL_SYSCALL_DECL (__err); \
__sysret = INTERNAL_SYSCALL (futex, __err, 4, (futexp), \
__lll_private_flag (FUTEX_WAIT, private), \
(val), (timespec)); \
@@ -88,8 +88,8 @@
#define lll_futex_wake(futexp, nr, private) \
({ \
- INTERNAL_SYSCALL_DECL (__err); \
long int __sysret; \
+ INTERNAL_SYSCALL_DECL (__err); \
__sysret = INTERNAL_SYSCALL (futex, __err, 4, (futexp), \
__lll_private_flag (FUTEX_WAKE, private), \
(nr), 0); \
@@ -108,8 +108,8 @@
/* Returns non-zero if error happened, zero if success. */
#define lll_futex_requeue(futexp, nr_wake, nr_move, mutex, val, private) \
({ \
- INTERNAL_SYSCALL_DECL (__err); \
long int __sysret; \
+ INTERNAL_SYSCALL_DECL (__err); \
__sysret = INTERNAL_SYSCALL (futex, __err, 6, (futexp), \
__lll_private_flag (FUTEX_CMP_REQUEUE, private),\
(nr_wake), (nr_move), (mutex), (val)); \
@@ -120,8 +120,8 @@
/* Returns non-zero if error happened, zero if success. */
#define lll_futex_wake_unlock(futexp, nr_wake, nr_wake2, futexp2, private) \
({ \
- INTERNAL_SYSCALL_DECL (__err); \
long int __sysret; \
+ INTERNAL_SYSCALL_DECL (__err); \
__sysret = INTERNAL_SYSCALL (futex, __err, 6, (futexp), \
__lll_private_flag (FUTEX_WAKE_OP, private), \
(nr_wake), (nr_wake2), (futexp2), \