Module Name: src Committed By: christos Date: Tue Sep 11 02:20:31 UTC 2018
Modified Files: src/sys/external/bsd/libnv/dist: nvlist.c nvlist_impl.h Log Message: add dead... To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/external/bsd/libnv/dist/nvlist.c cvs rdiff -u -r1.2 -r1.3 src/sys/external/bsd/libnv/dist/nvlist_impl.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/bsd/libnv/dist/nvlist.c diff -u src/sys/external/bsd/libnv/dist/nvlist.c:1.4 src/sys/external/bsd/libnv/dist/nvlist.c:1.5 --- src/sys/external/bsd/libnv/dist/nvlist.c:1.4 Sat Sep 8 10:32:25 2018 +++ src/sys/external/bsd/libnv/dist/nvlist.c Mon Sep 10 22:20:31 2018 @@ -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 @@ nvlist_set_flags(nvlist_t *nvl, int flag nvl->nvl_flags = flags; } -void +__dead void nvlist_report_missing(int type, const char *name) { Index: src/sys/external/bsd/libnv/dist/nvlist_impl.h diff -u src/sys/external/bsd/libnv/dist/nvlist_impl.h:1.2 src/sys/external/bsd/libnv/dist/nvlist_impl.h:1.3 --- src/sys/external/bsd/libnv/dist/nvlist_impl.h:1.2 Sat Sep 8 10:02:15 2018 +++ src/sys/external/bsd/libnv/dist/nvlist_impl.h Mon Sep 10 22:20:31 2018 @@ -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);