Message ID | 20210412212111.29186-2-luc.vanoostenryck@gmail.com (mailing list archive) |
---|---|
State | Mainlined, archived |
Headers | show |
Series | scheck: add a symbolic checker | expand |
diff --git a/builtin.c b/builtin.c index c7e7da3b1b7b..ff03dbab9a06 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 d0d3fd2ccf87..9cb6728444fe 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
Make declare_builtins() extern so that it can be used from other files. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> --- builtin.c | 2 +- builtin.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)