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/350e250ed12f
branches:  trunk
changeset: 983215:350e250ed12f
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 2f4134816452 -r 350e250ed12f 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 @@
        }
 }
 
-static void
+static __dead void
 on_signal(int dummy)
 {
        endwin();



Home | Main Index | Thread Index | Old Index