1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

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>
This commit is contained in:
Sergey Bugaev
2023-04-29 16:12:22 +03:00
committed by Samuel Thibault
parent 0ab341b247
commit 6639cc1002
2 changed files with 5 additions and 5 deletions

View File

@@ -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