From c31004442a1cfa01323eb1e347f2ebab46ec166b Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 18 Feb 2012 12:26:23 +0100 Subject: 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 5e3ba61..d443f8f 100644 --- a/examples/libssh_scp.c +++ b/examples/libssh_scp.c @@ -22,10 +22,10 @@ program. #include #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; -- cgit v1.2.3