From 2539e3cbb2fed78f446338ecd589eeb505ae9f45 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 15 Jul 2020 11:31:38 +0200 Subject: extract: extract_one: make arguments const --- extract.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extract.h') diff --git a/extract.h b/extract.h index 2219780d..0b3693d2 100644 --- a/extract.h +++ b/extract.h @@ -10,8 +10,8 @@ struct extraction_context; struct extraction_context *extract_begin(enum selection_kind kind); bool extract_one( - struct terminal *term, struct row *row, struct cell *cell, int col, - void *context); + const struct terminal *term, const struct row *row, const struct cell *cell, + int col, void *context); bool extract_finish( struct extraction_context *context, char **text, size_t *len); -- cgit v1.3