interruption handler and variable are static
This commit is contained in:
parent
0d58aaf6f0
commit
7f580f9ee8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user