interruption handler and variable are static

This commit is contained in:
Yann Collet 2017-10-02 11:39:05 -07:00
parent 0d58aaf6f0
commit 7f580f9ee8

View 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)