]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
interruption handler and variable are static
authorYann Collet <cyan@fb.com>
Mon, 2 Oct 2017 18:39:05 +0000 (11:39 -0700)
committerYann Collet <cyan@fb.com>
Mon, 2 Oct 2017 18:39:05 +0000 (11:39 -0700)
programs/fileio.c

index dafc124684c72c7cd16e6171ad1054ba6890c2dd..8d6ab35d0112434f53767b7aea64526b7a01ff7b 100644 (file)
@@ -145,8 +145,8 @@ static clock_t g_time = 0;
 **************************************/
 #include  <signal.h>
 
-const char* g_artefact = NULL;
-void INThandler(int sig)
+static const char* g_artefact = NULL;
+static void INThandler(int sig)
 {
     assert(sig==SIGINT); (void)sig;
 #if !defined(_MSC_VER)