aboutsummaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2020-09-30 10:58:19 +0200
committerMarc André Tanner <mat@brain-dump.org>2020-10-10 10:03:17 +0200
commit89677f14399057b96ca12e901e045db61e379931 (patch)
treefb8de01535490223b40eff31a1e92c0392029d8d /text.h
parent3614dd5811ebb0b7286e7ad8b66b4ef2ea6cc9c4 (diff)
downloadvis-89677f14399057b96ca12e901e045db61e379931.tar.gz
vis-89677f14399057b96ca12e901e045db61e379931.tar.xz
text: mark text_mmaped argument as const
Diffstat (limited to 'text.h')
-rw-r--r--text.h2
1 files changed, 1 insertions, 1 deletions
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