interruption handler and variable are static
This commit is contained in:
+2
-2
@@ -145,8 +145,8 @@ static clock_t g_time = 0;
|
|||||||
**************************************/
|
**************************************/
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
const char* g_artefact = NULL;
|
static const char* g_artefact = NULL;
|
||||||
void INThandler(int sig)
|
static void INThandler(int sig)
|
||||||
{
|
{
|
||||||
assert(sig==SIGINT); (void)sig;
|
assert(sig==SIGINT); (void)sig;
|
||||||
#if !defined(_MSC_VER)
|
#if !defined(_MSC_VER)
|
||||||
|
|||||||
Reference in New Issue
Block a user