projects
/
project
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
83a6386
)
make ubus_start_request static
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 31 Jan 2011 17:27:23 +0000
(18:27 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 31 Jan 2011 17:27:23 +0000
(18:27 +0100)
libubus.c
patch
|
blob
|
history
libubus.h
patch
|
blob
|
history
diff --git
a/libubus.c
b/libubus.c
index
97cdfc8
..
c1a1010
100644
(file)
--- 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);
}
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));
{
memset(req, 0, sizeof(*req));
diff --git
a/libubus.h
b/libubus.h
index
290b5c3
..
49a147a
100644
(file)
--- a/
libubus.h
+++ b/
libubus.h
@@
-138,10
+138,6
@@
struct blob_attr **ubus_parse_msg(struct blob_attr *msg);
/* ----------- raw request handling ----------- */
/* ----------- 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);
/* wait for a request to complete and return its status */
int ubus_complete_request(struct ubus_context *ctx, struct ubus_request *req);