From c31004442a1cfa01323eb1e347f2ebab46ec166b Mon Sep 17 00:00:00 2001 From: Andreas Schneider <asn@cryptomilk.org> Date: Sat, 18 Feb 2012 12:26:23 +0100 Subject: [PATCH] examples: Make variables static in scp example. Fixes sparse warnings. --- examples/libssh_scp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/libssh_scp.c b/examples/libssh_scp.c index 5e3ba61e..d443f8f2 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;