mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
allocalim.h: Fix codestyle
* sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of || to respect codestyle.
This commit is contained in:
@ -19,6 +19,8 @@
|
|||||||
* sysdeps/mach/hurd/i386/libresolv.abilist: New file.
|
* sysdeps/mach/hurd/i386/libresolv.abilist: New file.
|
||||||
* sysdeps/mach/hurd/i386/librt.abilist: New file.
|
* sysdeps/mach/hurd/i386/librt.abilist: New file.
|
||||||
* sysdeps/mach/hurd/i386/libutil.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>
|
2018-01-29 Darius Rad <darius@bluespec.com>
|
||||||
|
|
||||||
|
@ -24,9 +24,9 @@ extern __always_inline
|
|||||||
int
|
int
|
||||||
__libc_use_alloca (size_t size)
|
__libc_use_alloca (size_t size)
|
||||||
{
|
{
|
||||||
return (
|
return (__builtin_expect (__libc_alloca_cutoff (size), 1)
|
||||||
#ifdef PTHREAD_STACK_MIN
|
#ifdef PTHREAD_STACK_MIN
|
||||||
__builtin_expect (size <= PTHREAD_STACK_MIN / 4, 1) ||
|
|| __builtin_expect (size <= PTHREAD_STACK_MIN / 4, 1)
|
||||||
#endif
|
#endif
|
||||||
__builtin_expect (__libc_alloca_cutoff (size), 1));
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user