aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc/funcvars.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2019-09-02 23:38:48 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2019-09-02 23:51:15 +0200
commit4763814c683c50f8a3697b74e764f19c3dacccd5 (patch)
tree386ff43f024705a32310b882f2161b5f86d8820a /src/blogc/funcvars.c
parentc12bdb94ecdc44f200a8030dfde4a5ec46053ea6 (diff)
downloadblogc-4763814c683c50f8a3697b74e764f19c3dacccd5.tar.gz
blogc-4763814c683c50f8a3697b74e764f19c3dacccd5.tar.bz2
blogc-4763814c683c50f8a3697b74e764f19c3dacccd5.zip
migrate codebase to use squareball. again :)feature/squareball
Diffstat (limited to 'src/blogc/funcvars.c')
-rw-r--r--src/blogc/funcvars.c8
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++) {