add dead...

This commit is contained in:
christos 2018-09-11 02:20:31 +00:00
parent bdb01802e6
commit 22c09424bf
2 changed files with 5 additions and 5 deletions

View File

@ -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 flags)
nvl->nvl_flags = flags;
}
void
__dead void
nvlist_report_missing(int type, const char *name)
{

View File

@ -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);