diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2023-04-29 16:12:22 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-04-29 17:03:59 +0200 |
commit | 6639cc10029e24e06b34e169712b21c31b8cf213 (patch) | |
tree | b4251688b122e000511a98aff46b48760c571ada /hurd/hurd.h | |
parent | 0ab341b247fc1c2cd101a87c78f38d2da00c335c (diff) | |
download | glibc-6639cc10029e24e06b34e169712b21c31b8cf213.tar glibc-6639cc10029e24e06b34e169712b21c31b8cf213.tar.gz glibc-6639cc10029e24e06b34e169712b21c31b8cf213.tar.bz2 glibc-6639cc10029e24e06b34e169712b21c31b8cf213.zip |
hurd: Mark error functions as __COLD
This should hopefully hint the compiler that they are unlikely
to be called.
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-Id: <20230429131223.2507236-2-bugaevc@gmail.com>
Diffstat (limited to 'hurd/hurd.h')
-rw-r--r-- | hurd/hurd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurd.h b/hurd/hurd.h index eca4abb718..06f00e93d6 100644 --- a/hurd/hurd.h +++ b/hurd/hurd.h @@ -48,7 +48,7 @@ #define _HURD_H_EXTERN_INLINE __extern_inline #endif -extern int __hurd_fail (error_t err); +extern int __hurd_fail (error_t err) __COLD; #ifdef __USE_EXTERN_INLINES _HURD_H_EXTERN_INLINE int |