X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=proto-shell.c;h=9ad28ac3bde7ac83008f45850c8f4b418091704e;hp=eb60fc15037a5e1c895589f387cd79c1ef48b036;hb=937a95ad71e00e99bd21add761e2f810b7fb4026;hpb=3cb42f8ddc76b8254f23a28772e60da7aeeb4a23 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;