diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2021-04-09 23:59:30 +0200 |
---|---|---|
committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2021-04-10 01:13:36 +0200 |
commit | 8fd2c0b489d3fe371081ceddb1637713a452eefd (patch) | |
tree | 0fbfa1f22887ae9d6f7cf20cb24444c5be550a4e | |
parent | 5e674421d5f144612a8d39cafae557bbfa7026fa (diff) | |
download | sparse-8fd2c0b489d3fe371081ceddb1637713a452eefd.tar.gz |
export declare_builtins()
Make declare_builtins() extern so that it can be used from other files.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r-- | builtin.c | 2 | ||||
-rw-r--r-- | builtin.h | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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; @@ -12,4 +12,6 @@ struct builtin_fn { struct symbol_op *op; }; +void declare_builtins(int stream, const struct builtin_fn tbl[]); + #endif |