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:
parent
b7dc17589b
commit
c581f24a3b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=332312
@ -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;
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user