diff options
author | Sam James <sam@gentoo.org> | 2023-04-19 04:29:10 +0100 |
---|---|---|
committer | Mike Frysinger <vapier@gmail.com> | 2023-04-19 16:44:51 -0400 |
commit | eb8831a1416ab2ee8123b3add78421c2aa316b39 (patch) | |
tree | 3d5759e4a48db6a806174a8c8f1f0af24be11dba /src/shared/_usage.c | |
parent | 0b5cb3abcb500d38f7302addb4182b07c1dc2ad7 (diff) |
Rename attribute macros to namespaced RC_*
This conflicts with linux-headers which uses __unused for some padding members
on ppc64le at least.
Closes: https://github.com/OpenRC/openrc/issues/622
Diffstat (limited to 'src/shared/_usage.c')
-rw-r--r-- | src/shared/_usage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/_usage.c b/src/shared/_usage.c index 76e2ab84..ed471dd2 100644 --- a/src/shared/_usage.c +++ b/src/shared/_usage.c @@ -36,7 +36,7 @@ void set_quiet_options(void) } } -_noreturn void show_version(void) +RC_NORETURN void show_version(void) { const char *systype = NULL; @@ -51,7 +51,7 @@ _noreturn void show_version(void) exit(EXIT_SUCCESS); } -_noreturn void usage(int exit_status) +RC_NORETURN void usage(int exit_status) { const char * const has_arg[] = { "", "<arg>", "[arg]" }; int i; |