summaryrefslogtreecommitdiffstats
path: root/examples/libssh_scp.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-02-18 12:26:23 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-02-19 13:26:02 +0100
commitc31004442a1cfa01323eb1e347f2ebab46ec166b (patch)
tree74e4c7461f96fe2352e3f068b2e68f53663fbc8c /examples/libssh_scp.c
parente68b763a67227c88d2389da4dd0c023a0f4e497e (diff)
downloadlibssh-c31004442a1cfa01323eb1e347f2ebab46ec166b.tar.gz
libssh-c31004442a1cfa01323eb1e347f2ebab46ec166b.tar.xz
libssh-c31004442a1cfa01323eb1e347f2ebab46ec166b.zip
examples: Make variables static in scp example.
Fixes sparse warnings.
Diffstat (limited to 'examples/libssh_scp.c')
-rw-r--r--examples/libssh_scp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/libssh_scp.c b/examples/libssh_scp.c
index 5e3ba61..d443f8f 100644
--- a/examples/libssh_scp.c
+++ b/examples/libssh_scp.c
@@ -22,10 +22,10 @@ program.
#include <libssh/libssh.h>
#include "examples_common.h"
-char **sources;
-int nsources;
-char *destination;
-int verbosity=0;
+static char **sources;
+static int nsources;
+static char *destination;
+static int verbosity=0;
struct location {
int is_ssh;