make ubus_start_request static
This commit is contained in:
parent
83a6386ede
commit
36b1a80b07
2 changed files with 2 additions and 6 deletions
|
@ -102,8 +102,8 @@ static int ubus_send_msg(struct ubus_context *ctx, uint32_t seq,
|
|||
return writev(ctx->sock.fd, iov, 2);
|
||||
}
|
||||
|
||||
int ubus_start_request(struct ubus_context *ctx, struct ubus_request *req,
|
||||
struct blob_attr *msg, int cmd, uint32_t peer)
|
||||
static int ubus_start_request(struct ubus_context *ctx, struct ubus_request *req,
|
||||
struct blob_attr *msg, int cmd, uint32_t peer)
|
||||
{
|
||||
memset(req, 0, sizeof(*req));
|
||||
|
||||
|
|
|
@ -138,10 +138,6 @@ struct blob_attr **ubus_parse_msg(struct blob_attr *msg);
|
|||
|
||||
/* ----------- raw request handling ----------- */
|
||||
|
||||
/* start a raw request */
|
||||
int ubus_start_request(struct ubus_context *ctx, struct ubus_request *req,
|
||||
struct blob_attr *msg, int cmd, uint32_t peer);
|
||||
|
||||
/* wait for a request to complete and return its status */
|
||||
int ubus_complete_request(struct ubus_context *ctx, struct ubus_request *req);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue