mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Remove signal_val declaration from Var.h
This commit is contained in:
parent
3bcf55ce41
commit
c509149c86
2 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -67,5 +67,3 @@ extern BroType* internal_type(const char* name);
|
|||
extern Func* internal_func(const char* name);
|
||||
|
||||
extern EventHandlerPtr internal_handler(const char* name);
|
||||
|
||||
extern int signal_val; // 0 if no signal pending
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue