Remove signal_val declaration from Var.h

This commit is contained in:
Jon Siwek 2020-05-13 11:43:36 -07:00
parent 3bcf55ce41
commit c509149c86
2 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ extern "C" {
#include "Sessions.h"
#include "Event.h"
#include "Timer.h"
#include "Var.h"
#include "ID.h"
#include "Reporter.h"
#include "Scope.h"
#include "Anon.h"
@ -331,6 +331,8 @@ void net_run()
current_dispatched = 0;
current_iosrc = nullptr;
extern int signal_val;
if ( signal_val == SIGTERM || signal_val == SIGINT )
// We received a signal while processing the
// current packet and its related events.