Source-Changes-HG archive

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

[src/trunk]: src/tests use __dead



details:   https://anonhg.NetBSD.org/src/rev/06b040f20141
branches:  trunk
changeset: 816967:06b040f20141
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Thu Aug 04 11:49:07 2016 +0000

description:
use __dead

diffstat:

 tests/h_macros.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 49c9bb3d98ee -r 06b040f20141 tests/h_macros.h
--- a/tests/h_macros.h  Thu Aug 04 10:45:52 2016 +0000
+++ b/tests/h_macros.h  Thu Aug 04 11:49:07 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: h_macros.h,v 1.11 2015/01/14 22:57:27 christos Exp $ */
+/* $NetBSD: h_macros.h,v 1.12 2016/08/04 11:49:07 jakllsch Exp $ */
 
 /*-
  * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -51,7 +51,7 @@
        ATF_REQUIRE_MSG(RZ_rv == 0, "%s: %s", #x, strerror(RZ_rv));     \
 } while (/*CONSTCOND*/0)
 
-static __inline __printflike(1, 2) void
+__dead static __inline __printflike(1, 2) void
 atf_tc_fail_errno(const char *fmt, ...)
 {
        va_list ap;



Home | Main Index | Thread Index | Old Index