Skip to content

Commit 6776fb1

Browse files
committed
Try this
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
1 parent 0141270 commit 6776fb1

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

tests/unit/process_terminate_unix_test.c

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,30 +15,30 @@
1515

1616
/* Settings */
1717

18-
time_t proc_1_start_time;
19-
time_t proc_1_reaction_time;
20-
bool proc_1_int_blocked;
21-
bool proc_1_term_blocked;
22-
bool proc_1_have_access;
18+
static time_t proc_1_start_time;
19+
static time_t proc_1_reaction_time;
20+
static bool proc_1_int_blocked;
21+
static bool proc_1_term_blocked;
22+
static bool proc_1_have_access;
2323

2424
/* State */
2525

26-
time_t current_time;
26+
static time_t current_time;
2727

28-
bool exists;
29-
bool stopped;
28+
static bool exists;
29+
static bool stopped;
3030

31-
time_t signal_time;
32-
bool has_stop;
33-
bool has_cont;
34-
bool has_int;
35-
bool has_term;
36-
bool has_kill;
31+
static time_t signal_time;
32+
static bool has_stop;
33+
static bool has_cont;
34+
static bool has_int;
35+
static bool has_term;
36+
static bool has_kill;
3737

3838
/* History */
3939

40-
bool was_stopped;
41-
int exit_signal;
40+
static bool was_stopped;
41+
static int exit_signal;
4242

4343
void InitTime(void)
4444
{

0 commit comments

Comments
 (0)