1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-26 16:18:31 +00:00

Mark local function as static as a result of removing recursion.

Approved by:	pjd (mentor)
This commit is contained in:
Mariusz Zaborski 2015-04-30 20:50:42 +00:00
parent 45fd5ced7b
commit b7be86aca6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=282283
2 changed files with 2 additions and 6 deletions

View File

@ -583,7 +583,7 @@ nvlist_pack_header(const nvlist_t *nvl, unsigned char *ptr, size_t *leftp)
return (ptr);
}
void *
static void *
nvlist_xpack(const nvlist_t *nvl, int64_t *fdidxp, size_t *sizep)
{
unsigned char *buf, *ptr;
@ -762,7 +762,7 @@ nvlist_unpack_header(nvlist_t *nvl, const unsigned char *ptr, size_t nfds,
return (NULL);
}
nvlist_t *
static nvlist_t *
nvlist_xunpack(const void *buf, size_t size, const int *fds, size_t nfds)
{
const unsigned char *ptr;

View File

@ -38,10 +38,6 @@
#include "nv.h"
void *nvlist_xpack(const nvlist_t *nvl, int64_t *fdidxp, size_t *sizep);
nvlist_t *nvlist_xunpack(const void *buf, size_t size, const int *fds,
size_t nfds);
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);