From b8c78bdb5a7bbdbe9138e46092eaa693f520e864 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 6 Feb 2009 09:58:44 +0000 Subject: Fix build warnings in client sample. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@232 7dcaeef0-15fb-0310-b436-a5af3365683c --- sample.c | 56 +++++++++++++++++++++++++++++++++----------------------- 1 file changed, 33 insertions(+), 23 deletions(-) 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