diff --git a/sample.c b/sample.c index a027e7ed..bc377444 100644 --- a/sample.c +++ b/sample.c @@ -40,7 +40,7 @@ char *cmds[MAXCMD]; struct termios terminal; void do_sftp(SSH_SESSION *session); -void add_cmd(char *cmd){ +static void add_cmd(char *cmd){ int n; for(n=0;cmds[n] && (n