From 89677f14399057b96ca12e901e045db61e379931 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 30 Sep 2020 10:58:19 +0200 Subject: text: mark text_mmaped argument as const --- text.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'text.h') diff --git a/text.h b/text.h index cf32513..8241df0 100644 --- a/text.h +++ b/text.h @@ -411,7 +411,7 @@ ssize_t text_write_range(const Text*, const Filerange*, int fd); * Check whether ``ptr`` is part of a memory mapped region associated with * this text instance. */ -bool text_mmaped(Text*, const char *ptr); +bool text_mmaped(const Text*, const char *ptr); /** @} */ #endif -- cgit v1.2.3