Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/aiomixer fix clang build (on_signal is dead)



details:   https://anonhg.NetBSD.org/src/rev/c2fcd7e6eaa2
branches:  trunk
changeset: 379087:c2fcd7e6eaa2
user:      christos <christos%NetBSD.org@localhost>
date:      Sun May 09 15:40:27 2021 +0000

description:
fix clang build (on_signal is dead)

diffstat:

 usr.bin/aiomixer/main.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1365fbdbb6ee -r c2fcd7e6eaa2 usr.bin/aiomixer/main.c
--- a/usr.bin/aiomixer/main.c   Sun May 09 12:51:45 2021 +0000
+++ b/usr.bin/aiomixer/main.c   Sun May 09 15:40:27 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.1 2021/05/07 16:29:24 nia Exp $ */
+/* $NetBSD: main.c,v 1.2 2021/05/09 15:40:27 christos Exp $ */
 /*-
  * Copyright (c) 2021 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -482,7 +482,7 @@ open_device(struct aiomixer *aio, const 
        }
 }
 
-static void
+static __dead void
 on_signal(int dummy)
 {
        endwin();



Home | Main Index | Thread Index | Old Index