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 Mark find_event_count() with __used



details:   https://anonhg.NetBSD.org/src/rev/e5d5131acecd
branches:  trunk
changeset: 969867:e5d5131acecd
user:      kamil <kamil%NetBSD.org@localhost>
date:      Tue Mar 03 17:09:22 2020 +0000

description:
Mark find_event_count() with __used

diffstat:

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

diffs (18 lines):

diff -r 820f40195241 -r e5d5131acecd tests/lib/libc/sys/t_ptrace_wait.h
--- a/tests/lib/libc/sys/t_ptrace_wait.h        Tue Mar 03 14:29:57 2020 +0000
+++ b/tests/lib/libc/sys/t_ptrace_wait.h        Tue Mar 03 17:09:22 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_wait.h,v 1.22 2020/02/22 19:44:07 kamil Exp $ */
+/*     $NetBSD: t_ptrace_wait.h,v 1.23 2020/03/03 17:09:22 kamil Exp $ */
 
 /*-
  * Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc.
@@ -684,7 +684,7 @@
        int lec_count;
 };
 
-static int *
+static int * __used
 find_event_count(struct lwp_event_count list[], lwpid_t lwp, size_t max_lwps)
 {
        size_t i;



Home | Main Index | Thread Index | Old Index