diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-02-15 07:45:24 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-02-15 07:45:24 +0000 |
commit | fc14ad27155e0bdd0e0c20be31bad7dfdf0a3122 (patch) | |
tree | 035efa3d847dcfcd5ca5d749fc302f54c82a18cf /configd | |
parent | c5fe5b6be07e57115cd72738a5afd928b0df60ef (diff) |
- [[noreturn]] is standard.
- gnu printf format specification is defacto standard.
Diffstat (limited to 'configd')
-rw-r--r-- | configd/src/apps/sentinel/service.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configd/src/apps/sentinel/service.h b/configd/src/apps/sentinel/service.h index 6e4e0a60232..a5cdaabaab9 100644 --- a/configd/src/apps/sentinel/service.h +++ b/configd/src/apps/sentinel/service.h @@ -32,7 +32,7 @@ private: vespalib::duration _restartPenalty; vespalib::steady_time _last_start; - void runChild() __attribute__((noreturn)); + [[noreturn]] void runChild(); void setState(ServiceState state); void runCommand(const std::string & command); const char *stateName(ServiceState state) const; |