aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
-rw-r--r--builtin.c2
-rw-r--r--builtin.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/builtin.c b/builtin.c
index c7e7da3b..ff03dbab 100644
--- a/builtin.c
+++ b/builtin.c
@@ -559,7 +559,7 @@ static void declare_builtin(int stream, const struct builtin_fn *entry)
}
}
-static void declare_builtins(int stream, const struct builtin_fn tbl[])
+void declare_builtins(int stream, const struct builtin_fn tbl[])
{
if (!tbl)
return;
diff --git a/builtin.h b/builtin.h
index d0d3fd2c..9cb67284 100644
--- a/builtin.h
+++ b/builtin.h
@@ -12,4 +12,6 @@ struct builtin_fn {
struct symbol_op *op;
};
+void declare_builtins(int stream, const struct builtin_fn tbl[]);
+
#endif