From 40013d270248cb9eb720bb498e5cfe2df84450ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 30 Sep 2020 10:21:25 +0200 Subject: text: mark text_stat argument as const --- text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'text.c') diff --git a/text.c b/text.c index 3296e1a..d156c8a 100644 --- a/text.c +++ b/text.c @@ -1218,7 +1218,7 @@ out: return NULL; } -struct stat text_stat(Text *txt) { +struct stat text_stat(const Text *txt) { return txt->info; } -- cgit v1.2.3