diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2019-11-14 13:52:57 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2019-11-29 13:54:10 +0800 |
commit | 9711179694bb0e52c5951dc7222f1f79fcba814d (patch) | |
tree | e72c391c728dbcf9b01623678a25f667cca521ab /discover/grub2/grub2.h | |
parent | 2c132ebc93a44b7550b1fdb3f5f7b010e51f47e8 (diff) | |
download | talos-petitboot-9711179694bb0e52c5951dc7222f1f79fcba814d.tar.gz talos-petitboot-9711179694bb0e52c5951dc7222f1f79fcba814d.zip |
discover/grub2: make statements_execute non-static
We want to execute newly-parsed statements, so expose
statements_execute() to the rest of the grub2 parser code.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/grub2/grub2.h')
-rw-r--r-- | discover/grub2/grub2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/discover/grub2/grub2.h b/discover/grub2/grub2.h index 668d070..deaf976 100644 --- a/discover/grub2/grub2.h +++ b/discover/grub2/grub2.h @@ -165,6 +165,9 @@ void word_append(struct grub2_word *w1, struct grub2_word *w2); /* script interface */ void script_execute(struct grub2_script *script); +int statements_execute(struct grub2_script *script, + struct grub2_statements *stmts); + int statement_simple_execute(struct grub2_script *script, struct grub2_statement *statement); int statement_block_execute(struct grub2_script *script, |