mirror of
https://github.com/systemd/systemd
synced 2024-09-06 08:46:19 +00:00
coverage: Mark _coverage__exit as noreturn
../src/basic/coverage.h:15:48: warning: function '_coverage__exit' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
This commit is contained in:
parent
2ab0042854
commit
0bab5534b3
|
@ -12,7 +12,7 @@
|
|||
extern void _exit(int);
|
||||
extern void __gcov_dump(void);
|
||||
|
||||
static inline void _coverage__exit(int status) {
|
||||
static inline _Noreturn void _coverage__exit(int status) {
|
||||
__gcov_dump();
|
||||
_exit(status);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue