3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-29 17:38:45 +00:00

make a few functions static

This commit is contained in:
Nuno Lopes 2016-12-01 14:01:20 +00:00
parent 7ebc660b6d
commit 42b26c63e5
5 changed files with 24 additions and 27 deletions

View file

@ -335,7 +335,7 @@ namespace smt {
}
}
bool find_arg(app * n, expr * t, expr * & other) {
static bool find_arg(app * n, expr * t, expr * & other) {
SASSERT(n->get_num_args() == 2);
if (n->get_arg(0) == t) {
other = n->get_arg(1);
@ -348,7 +348,7 @@ namespace smt {
return false;
}
bool check_args(app * n, expr * t1, expr * t2) {
static bool check_args(app * n, expr * t1, expr * t2) {
SASSERT(n->get_num_args() == 2);
return (n->get_arg(0) == t1 && n->get_arg(1) == t2) || (n->get_arg(1) == t1 && n->get_arg(0) == t2);
}