diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-04-28 15:16:55 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-05-06 17:47:11 -0700 |
commit | 73696aa2fdd35f4f7c0f822cb3e75efb4f7fcde5 (patch) | |
tree | 69be2f0438852c6165b597827fb7096b3f52a154 /include | |
parent | 0847b07e89839b430d7eabee8965a4f0c9680256 (diff) |
Mark FatalError as _X_NORETURN
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/app/xfs/-/merge_requests/7>
Diffstat (limited to 'include')
-rw-r--r-- | include/os.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/os.h b/include/os.h index c70a0c1..ad159a9 100644 --- a/include/os.h +++ b/include/os.h @@ -97,7 +97,8 @@ extern void InitErrors(void); extern void CloseErrors(void); extern void NoticeF(const char *f, ...) _X_ATTRIBUTE_PRINTF(1, 2); extern void ErrorF(const char * f, ...) _X_ATTRIBUTE_PRINTF(1, 2); -extern void FatalError(const char* f, ...) _X_ATTRIBUTE_PRINTF(1, 2); +extern void FatalError(const char* f, ...) _X_ATTRIBUTE_PRINTF(1, 2) + _X_NORETURN; /* os/io.c */ extern Bool InsertFakeRequest(ClientPtr client, char *data, int count); |