projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make a few functions static
[project/ubus.git]
/
ubus-example.c
diff --git
a/ubus-example.c
b/ubus-example.c
index
99bf30b
..
53d275b
100644
(file)
--- a/
ubus-example.c
+++ b/
ubus-example.c
@@
-60,7
+60,7
@@
static const struct blobmsg_policy watch_policy[__WATCH_MAX] = {
[WATCH_ID] = { .name = "id", .type = BLOBMSG_TYPE_INT32 },
};
[WATCH_ID] = { .name = "id", .type = BLOBMSG_TYPE_INT32 },
};
-void test_handle_event(struct ubus_context *ctx, struct ubus_watch_object *w,
+
static
void test_handle_event(struct ubus_context *ctx, struct ubus_watch_object *w,
uint32_t id)
{
fprintf(stderr, "Object %08x went away\n", id);
uint32_t id)
{
fprintf(stderr, "Object %08x went away\n", id);