Skip to content

Commit 4ec9350

Browse files
Add missing static keyword
Ensures the functions are only used within the cpp file.
1 parent 6bb3b0c commit 4ec9350

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/goto-symex/show_vcc.cpp

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ Author: Daniel Kroening, [email protected]
2323
#include <util/json_irep.h>
2424
#include <util/ui_message.h>
2525

26-
void show_vcc_plain(
27-
messaget::mstreamt &out,
28-
const symex_target_equationt &equation)
26+
static void
27+
show_vcc_plain(messaget::mstreamt &out, const symex_target_equationt &equation)
2928
{
3029
bool has_threads = equation.has_threads();
3130
bool first = true;
@@ -99,9 +98,8 @@ void show_vcc_plain(
9998
}
10099
}
101100

102-
void show_vcc_json(
103-
std::ostream &out,
104-
const symex_target_equationt &equation)
101+
static void
102+
show_vcc_json(std::ostream &out, const symex_target_equationt &equation)
105103
{
106104
json_objectt json_result;
107105

0 commit comments

Comments
 (0)