small fix, added "const"

git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@382 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
marcobaye 2024-07-30 09:40:12 +00:00
parent 59ef7c71f8
commit 9d71a86a74
2 changed files with 2 additions and 2 deletions

View File

@ -886,7 +886,7 @@ void inputchange_macro2_body(char *macro_body)
input_now->src.ram_ptr = macro_body;
}
// restore input struct from buffer
void inputchange_back(struct inputchange_buf *icb)
void inputchange_back(const struct inputchange_buf *icb)
{
input_now = icb->outer_input;
GotByte = icb->gb;

View File

@ -178,7 +178,7 @@ extern void inputchange_macro1_params(struct inputchange_buf *icb, struct locati
// switch from macro parameters to macro body
extern void inputchange_macro2_body(char *macro_body);
// restore input struct from buffer
extern void inputchange_back(struct inputchange_buf *icb);
extern void inputchange_back(const struct inputchange_buf *icb);
// "include path" stuff: