1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-12 14:29:28 +00:00

Make OF_searchencprop signature consistent with OF_getencprop

Use pcell_t* as a destination buffer argument instead of void
pointer to be consistent with OF_getencprop signature.
This commit is contained in:
Oleksandr Tymoshenko 2018-04-09 00:38:24 +00:00
parent b7dc17589b
commit c581f24a3b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=332312
2 changed files with 2 additions and 2 deletions

View File

@ -428,7 +428,7 @@ OF_searchprop(phandle_t node, const char *propname, void *buf, size_t len)
}
ssize_t
OF_searchencprop(phandle_t node, const char *propname, void *buf, size_t len)
OF_searchencprop(phandle_t node, const char *propname, pcell_t *buf, size_t len)
{
ssize_t rv;

View File

@ -114,7 +114,7 @@ int OF_hasprop(phandle_t node, const char *propname);
ssize_t OF_searchprop(phandle_t node, const char *propname, void *buf,
size_t len);
ssize_t OF_searchencprop(phandle_t node, const char *propname,
void *buf, size_t len);
pcell_t *buf, size_t len);
ssize_t OF_getprop_alloc(phandle_t node, const char *propname,
void **buf);
ssize_t OF_getprop_alloc_multi(phandle_t node, const char *propname,