mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-23 13:09:58 +08:00
Add a hidden_proto for __close_nocancel before its use
This commit is contained in:
parent
e9ba4bf620
commit
367c8c0e97
@ -49,6 +49,13 @@ __typeof (__write) __write_nocancel;
|
||||
/* Uncancelable close. */
|
||||
__typeof (__close) __close_nocancel;
|
||||
|
||||
#ifdef __clang__
|
||||
/* We need the hidden proto to be ahead of its use. */
|
||||
#if IS_IN (libc) || IS_IN (rtld)
|
||||
hidden_proto (__close_nocancel)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Non cancellable close syscall that does not also set errno in case of
|
||||
failure. */
|
||||
static inline void
|
||||
|
Loading…
Reference in New Issue
Block a user