diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2019-09-02 23:38:48 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2019-09-02 23:51:15 +0200 |
commit | 4763814c683c50f8a3697b74e764f19c3dacccd5 (patch) | |
tree | 386ff43f024705a32310b882f2161b5f86d8820a /src/blogc/funcvars.c | |
parent | c12bdb94ecdc44f200a8030dfde4a5ec46053ea6 (diff) | |
download | blogc-feature/squareball.tar.gz blogc-feature/squareball.tar.bz2 blogc-feature/squareball.zip |
migrate codebase to use squareball. again :)feature/squareball
Diffstat (limited to 'src/blogc/funcvars.c')
-rw-r--r-- | src/blogc/funcvars.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/blogc/funcvars.c b/src/blogc/funcvars.c index 6f0700b..358e3b4 100644 --- a/src/blogc/funcvars.c +++ b/src/blogc/funcvars.c @@ -9,11 +9,11 @@ #include <stdbool.h> #include <stdlib.h> #include <string.h> +#include <squareball.h> -#include "funcvars.h" #include "rusage.h" #include "sysinfo.h" -#include "../common/utils.h" +#include "funcvars.h" static const struct func_map { @@ -41,14 +41,14 @@ static const struct func_map { void -blogc_funcvars_eval(bc_trie_t *global, const char *name) +blogc_funcvars_eval(sb_trie_t *global, const char *name) { if (global == NULL || name == NULL) return; // protect against evaluating the same function twice in the same global // context - if (NULL != bc_trie_lookup(global, name)) + if (NULL != sb_trie_lookup(global, name)) return; for (size_t i = 0; funcs[i].variable != NULL; i++) { |