mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
allocalim.h: Fix codestyle
* sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of || to respect codestyle.
This commit is contained in:
parent
1fd1e27ca7
commit
ba729de643
@ -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>
|
||||
|
||||
|
@ -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));
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user