make ubus_parse_msg static

This commit is contained in:
Felix Fietkau 2011-02-07 02:38:57 +01:00
parent 12a8f978cb
commit c4c0a2256d
2 changed files with 1 additions and 3 deletions

View file

@ -53,8 +53,6 @@ struct ubus_client *ubusd_get_client_by_id(uint32_t id);
void ubusd_receive_message(struct ubus_client *cl, struct ubus_msg_buf *ub);
bool ubusd_send_hello(struct ubus_client *cl);
struct blob_attr **ubus_parse_msg(struct blob_attr *msg);
void ubusd_event_init(void);
void ubusd_event_cleanup_object(struct ubus_object *obj);

View file

@ -17,7 +17,7 @@ static const struct blob_attr_info ubus_policy[UBUS_ATTR_MAX] = {
[UBUS_ATTR_STATUS] = { .type = BLOB_ATTR_INT32 },
};
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);
return attrbuf;