summaryrefslogtreecommitdiffhomepage
path: root/proto-shell.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-19 21:15:18 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-19 21:15:18 +0200
commit937a95ad71e00e99bd21add761e2f810b7fb4026 (patch)
treeceebf22dfd6fd55e99b872ab1a0fc49d0b306376 /proto-shell.c
parent3cb42f8ddc76b8254f23a28772e60da7aeeb4a23 (diff)
make a few more functions static
Diffstat (limited to 'proto-shell.c')
-rw-r--r--proto-shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto-shell.c b/proto-shell.c
index eb60fc1..9ad28ac 100644
--- 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 *
+static struct 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;