From 3506b44a80d3e38904d5c6cd76085c16ad3a165c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 26 Nov 2016 19:47:38 +0100 Subject: microblaze: fixup gcc warnings --- libpthread/nptl/sysdeps/unix/sysv/linux/microblaze/lowlevellock.h | 8 ++++---- 1 file 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), \ -- cgit v1.2.3