make ubus_parse_msg static
This commit is contained in:
parent
36b1a80b07
commit
768d282ae9
2 changed files with 1 additions and 5 deletions
|
@ -55,7 +55,7 @@ static int ubus_cmp_id(const void *k1, const void *k2, void *ptr)
|
||||||
return *id1 > *id2;
|
return *id1 > *id2;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct blob_attr **ubus_parse_msg(struct blob_attr *msg)
|
static struct blob_attr **ubus_parse_msg(struct blob_attr *msg)
|
||||||
{
|
{
|
||||||
blob_parse(msg, attrbuf, ubus_policy, UBUS_ATTR_MAX);
|
blob_parse(msg, attrbuf, ubus_policy, UBUS_ATTR_MAX);
|
||||||
return attrbuf;
|
return attrbuf;
|
||||||
|
|
|
@ -132,10 +132,6 @@ void ubus_free(struct ubus_context *ctx);
|
||||||
|
|
||||||
const char *ubus_strerror(int error);
|
const char *ubus_strerror(int error);
|
||||||
|
|
||||||
/* ----------- helpers for message handling ----------- */
|
|
||||||
|
|
||||||
struct blob_attr **ubus_parse_msg(struct blob_attr *msg);
|
|
||||||
|
|
||||||
/* ----------- raw request handling ----------- */
|
/* ----------- raw request handling ----------- */
|
||||||
|
|
||||||
/* wait for a request to complete and return its status */
|
/* wait for a request to complete and return its status */
|
||||||
|
|
Loading…
Reference in a new issue