From 36b1a80b075203c650a6612f1ef45674210fb7a6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 31 Jan 2011 18:27:23 +0100 Subject: [PATCH] make ubus_start_request static --- libubus.c | 4 ++-- libubus.h | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/libubus.c b/libubus.c index 97cdfc8..c1a1010 100644 --- a/libubus.c +++ b/libubus.c @@ -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)); diff --git a/libubus.h b/libubus.h index 290b5c3..49a147a 100644 --- a/libubus.h +++ b/libubus.h @@ -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); -- 2.25.1