make ubus_parse_msg() none static
Signed-off-by: John Crispin <blogic@openwrt.org>
This commit is contained in:
parent
0bb927125f
commit
8c992a556b
2 changed files with 2 additions and 1 deletions
1
ubusd.h
1
ubusd.h
|
@ -61,6 +61,7 @@ struct ubus_path {
|
|||
struct ubus_msg_buf *ubus_msg_new(void *data, int len, bool shared);
|
||||
void ubus_msg_send(struct ubus_client *cl, struct ubus_msg_buf *ub, bool free);
|
||||
void ubus_msg_free(struct ubus_msg_buf *ub);
|
||||
struct blob_attr **ubus_parse_msg(struct blob_attr *msg);
|
||||
|
||||
struct ubus_client *ubusd_proto_new_client(int fd, uloop_fd_handler cb);
|
||||
void ubusd_proto_receive_message(struct ubus_client *cl, struct ubus_msg_buf *ub);
|
||||
|
|
|
@ -34,7 +34,7 @@ static const struct blob_attr_info ubus_policy[UBUS_ATTR_MAX] = {
|
|||
[UBUS_ATTR_METHOD] = { .type = BLOB_ATTR_STRING },
|
||||
};
|
||||
|
||||
static struct blob_attr **ubus_parse_msg(struct blob_attr *msg)
|
||||
struct blob_attr **ubus_parse_msg(struct blob_attr *msg)
|
||||
{
|
||||
blob_parse(msg, attrbuf, ubus_policy, UBUS_ATTR_MAX);
|
||||
return attrbuf;
|
||||
|
|
Loading…
Add table
Reference in a new issue