Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/libnv/dist add dead...



details:   https://anonhg.NetBSD.org/src/rev/5ba7ebc8feab
branches:  trunk
changeset: 433379:5ba7ebc8feab
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Sep 11 02:20:31 2018 +0000

description:
add dead...

diffstat:

 sys/external/bsd/libnv/dist/nvlist.c      |  6 +++---
 sys/external/bsd/libnv/dist/nvlist_impl.h |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 12109f085525 -r 5ba7ebc8feab sys/external/bsd/libnv/dist/nvlist.c
--- a/sys/external/bsd/libnv/dist/nvlist.c      Mon Sep 10 19:43:58 2018 +0000
+++ b/sys/external/bsd/libnv/dist/nvlist.c      Tue Sep 11 02:20:31 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nvlist.c,v 1.4 2018/09/08 14:32:25 christos Exp $      */
+/*     $NetBSD: nvlist.c,v 1.5 2018/09/11 02:20:31 christos Exp $      */
 
 /*-
  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
@@ -36,7 +36,7 @@
 #ifdef __FreeBSD__
 __FBSDID("$FreeBSD: head/sys/contrib/libnv/nvlist.c 335347 2018-06-18 22:57:32Z oshogbo $");
 #else
-__RCSID("$NetBSD: nvlist.c,v 1.4 2018/09/08 14:32:25 christos Exp $");
+__RCSID("$NetBSD: nvlist.c,v 1.5 2018/09/11 02:20:31 christos Exp $");
 #endif
 
 #include <sys/param.h>
@@ -337,7 +337,7 @@
        nvl->nvl_flags = flags;
 }
 
-void
+__dead void
 nvlist_report_missing(int type, const char *name)
 {
 
diff -r 12109f085525 -r 5ba7ebc8feab sys/external/bsd/libnv/dist/nvlist_impl.h
--- a/sys/external/bsd/libnv/dist/nvlist_impl.h Mon Sep 10 19:43:58 2018 +0000
+++ b/sys/external/bsd/libnv/dist/nvlist_impl.h Tue Sep 11 02:20:31 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nvlist_impl.h,v 1.2 2018/09/08 14:02:15 christos Exp $ */
+/*     $NetBSD: nvlist_impl.h,v 1.3 2018/09/11 02:20:31 christos Exp $ */
 
 /*-
  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
@@ -47,7 +47,7 @@
 #include <stdint.h>
 #endif
 
-void nvlist_report_missing(int type, const char *name);
+__dead void nvlist_report_missing(int type, const char *name);
 nvpair_t *nvlist_get_nvpair_parent(const nvlist_t *nvl);
 const unsigned char *nvlist_unpack_header(nvlist_t *nvl,
     const unsigned char *ptr, size_t nfds, bool *isbep, size_t *leftp);



Home | Main Index | Thread Index | Old Index