Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/sys PR/51892: Ngie Cooper: add __unused to `o...



details:   https://anonhg.NetBSD.org/src/rev/4b61c5f4ec80
branches:  trunk
changeset: 820950:4b61c5f4ec80
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jan 16 16:32:13 2017 +0000

description:
PR/51892: Ngie Cooper: add __unused to `osi` in the sigaction handler

diffstat:

 tests/lib/libc/sys/t_timer_create.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8e56b415741c -r 4b61c5f4ec80 tests/lib/libc/sys/t_timer_create.c
--- a/tests/lib/libc/sys/t_timer_create.c       Mon Jan 16 16:31:05 2017 +0000
+++ b/tests/lib/libc/sys/t_timer_create.c       Mon Jan 16 16:32:13 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_timer_create.c,v 1.4 2012/03/18 07:00:52 jruoho Exp $ */
+/*     $NetBSD: t_timer_create.c,v 1.5 2017/01/16 16:32:13 christos Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 static bool fail = true;
 
 static void
-timer_signal_handler(int signo, siginfo_t *si, void *osi)
+timer_signal_handler(int signo, siginfo_t *si, void *osi __unused)
 {
        timer_t *tp;
 



Home | Main Index | Thread Index | Old Index