From 268149290fcd8a52f377b21226990d3bf0e9c226 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 20 Oct 2011 23:10:01 +0200 Subject: reduce stack usage --- proto-shell.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto-shell.c') diff --git a/proto-shell.c b/proto-shell.c index c2a6d00..3b5311c 100644 --- a/proto-shell.c +++ b/proto-shell.c @@ -332,8 +332,8 @@ out: static int proto_shell_run_command(struct proto_shell_state *state, struct blob_attr **tb) { - char *argv[64]; - char *env[32]; + static char *argv[64]; + static char *env[32]; if (!tb[NOTIFY_COMMAND]) goto error; -- cgit v1.2.1