allocalim.h: Fix codestyle

* sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
	|| to respect codestyle.
This commit is contained in:
Samuel Thibault 2018-01-29 22:21:46 +01:00
parent 1fd1e27ca7
commit ba729de643
2 changed files with 5 additions and 3 deletions

View File

@ -19,6 +19,8 @@
* sysdeps/mach/hurd/i386/libresolv.abilist: New file.
* sysdeps/mach/hurd/i386/librt.abilist: New file.
* sysdeps/mach/hurd/i386/libutil.abilist: New file.
* sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
|| to respect codestyle.
2018-01-29 Darius Rad <darius@bluespec.com>

View File

@ -24,9 +24,9 @@ extern __always_inline
int
__libc_use_alloca (size_t size)
{
return (
return (__builtin_expect (__libc_alloca_cutoff (size), 1)
#ifdef PTHREAD_STACK_MIN
__builtin_expect (size <= PTHREAD_STACK_MIN / 4, 1) ||
|| __builtin_expect (size <= PTHREAD_STACK_MIN / 4, 1)
#endif
__builtin_expect (__libc_alloca_cutoff (size), 1));
);
}