fix: Wrong definition of "pidsToWatch" #230

This commit is contained in:
Matheus Rambo
2023-03-20 13:31:38 -03:00
parent 8f43d02d8c
commit c55a10bf26
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@
static std::pair<int, int> self_pipe = std::make_pair(-1, -1);
static time_t last_refresh_time = 0;
std::set<pid_t> pidsToWatch;
extern std::set<pid_t> pidsToWatch;
// selectable file descriptors for the main loop
static fd_set pc_loop_fd_set;

View File

@@ -68,7 +68,7 @@ Process *unknownudp;
Process *unknownip;
ProcList *processes;
extern std::set<pid_t> pidsToWatch;
std::set<pid_t> pidsToWatch;
#define KB (1UL << 10)
#define MB (1UL << 20)