projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cli: static keyword tweak
[project/ubus.git]
/
cli.c
diff --git
a/cli.c
b/cli.c
index 98fc4fedecb8132ec49ec74a54e49d5242f8289c..eea43e38aa8d8da7c38af4e6131a7218c6a72f71 100644
(file)
--- a/
cli.c
+++ b/
cli.c
@@
-142,7
+142,7
@@
static int ubus_cli_call(struct ubus_context *ctx, int argc, char **argv)
static int ubus_cli_listen(struct ubus_context *ctx, int argc, char **argv)
{
static int ubus_cli_listen(struct ubus_context *ctx, int argc, char **argv)
{
- st
atic st
ruct ubus_event_handler listener;
+ struct ubus_event_handler listener;
const char *event;
int ret = 0;
const char *event;
int ret = 0;
@@
-479,7
+479,7
@@
static int usage(const char *prog)
}
}
-struct {
+st
atic st
ruct {
const char *name;
int (*cb)(struct ubus_context *ctx, int argc, char **argv);
} commands[] = {
const char *name;
int (*cb)(struct ubus_context *ctx, int argc, char **argv);
} commands[] = {
@@
-494,7
+494,7
@@
struct {
int main(int argc, char **argv)
{
const char *progname, *ubus_socket = NULL;
int main(int argc, char **argv)
{
const char *progname, *ubus_socket = NULL;
- st
atic st
ruct ubus_context *ctx;
+ struct ubus_context *ctx;
char *cmd;
int ret = 0;
int i, ch;
char *cmd;
int ret = 0;
int i, ch;