mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Use glibc_likely instead __builtin_expect.
This commit is contained in:
@ -103,7 +103,7 @@ _IO_file_doallocate (fp)
|
||||
function it points to. This is to make sure _IO_cleanup gets called
|
||||
on exit. We call it from _IO_file_doallocate, since that is likely
|
||||
to get called by any program that does buffered I/O. */
|
||||
if (__builtin_expect (_IO_cleanup_registration_needed != NULL, 0))
|
||||
if (__glibc_unlikely (_IO_cleanup_registration_needed != NULL))
|
||||
(*_IO_cleanup_registration_needed) ();
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user