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/openrc-shutdown/broadcast.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/openrc-shutdown/broadcast.c')
-rw-r--r-- | src/openrc-shutdown/broadcast.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/openrc-shutdown/broadcast.c b/src/openrc-shutdown/broadcast.c index 232f4ab7..f21ee95c 100644 --- a/src/openrc-shutdown/broadcast.c +++ b/src/openrc-shutdown/broadcast.c @@ -42,8 +42,7 @@ static sigjmp_buf jbuf; /* * Alarm handler */ -/*ARGSUSED*/ -_noreturn static void handler(int arg _unused) +RC_NORETURN static void handler(int arg RC_UNUSED) { siglongjmp(jbuf, 1); } |