projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cb42f8
)
make a few more functions static
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 19 Oct 2011 19:15:18 +0000
(21:15 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 19 Oct 2011 19:15:18 +0000
(21:15 +0200)
proto-shell.c
patch
|
blob
|
history
proto-static.c
patch
|
blob
|
history
diff --git
a/proto-shell.c
b/proto-shell.c
index
eb60fc1
..
9ad28ac
100644
(file)
--- a/
proto-shell.c
+++ b/
proto-shell.c
@@
-391,7
+391,7
@@
proto_shell_notify(struct interface_proto_state *proto, struct blob_attr *attr)
}
}
-struct interface_proto_state *
+st
atic st
ruct interface_proto_state *
proto_shell_attach(const struct proto_handler *h, struct interface *iface,
struct blob_attr *attr)
{
@@
-600,7
+600,7
@@
static void proto_shell_add_script(const char *name)
pclose(f);
}
-void __init proto_shell_init(void)
+
static
void __init proto_shell_init(void)
{
glob_t g;
int main_fd;
diff --git
a/proto-static.c
b/proto-static.c
index
a7d75ec
..
ca39b7c
100644
(file)
--- a/
proto-static.c
+++ b/
proto-static.c
@@
-189,7
+189,7
@@
static_free(struct interface_proto_state *proto)
free(state);
}
-struct interface_proto_state *
+st
atic st
ruct interface_proto_state *
static_attach(const struct proto_handler *h, struct interface *iface,
struct blob_attr *attr)
{