Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libexecinfo PR/55648: Kyle Evans: Minor warnings i...



details:   https://anonhg.NetBSD.org/src/rev/cb5b21a73d0f
branches:  trunk
changeset: 954739:cb5b21a73d0f
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Sep 09 20:04:10 2020 +0000

description:
PR/55648: Kyle Evans: Minor warnings in compilation of libexecinfo test2

diffstat:

 tests/lib/libexecinfo/t_backtrace.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r acd87e973b1a -r cb5b21a73d0f tests/lib/libexecinfo/t_backtrace.c
--- a/tests/lib/libexecinfo/t_backtrace.c       Wed Sep 09 16:46:06 2020 +0000
+++ b/tests/lib/libexecinfo/t_backtrace.c       Wed Sep 09 20:04:10 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_backtrace.c,v 1.16 2014/11/04 00:20:19 justin Exp $  */
+/*     $NetBSD: t_backtrace.c,v 1.17 2020/09/09 20:04:10 christos Exp $        */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_backtrace.c,v 1.16 2014/11/04 00:20:19 justin Exp $");
+__RCSID("$NetBSD: t_backtrace.c,v 1.17 2020/09/09 20:04:10 christos Exp $");
 
 #include <atf-c.h>
 #include <string.h>
@@ -47,7 +47,7 @@
 void myfunc1(size_t origcalls, volatile size_t ncalls);
 void myfunc(size_t ncalls);
 
-volatile int prevent_inline;
+static volatile int prevent_inline;
 
 void
 myfunc3(size_t ncalls)



Home | Main Index | Thread Index | Old Index