From 2748b1ccdda3a3b5101d6782387334ca7e72fbe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 30 Sep 2020 10:23:19 +0200 Subject: text: mark text_modified 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 f66df86..17445fc 100644 --- a/text.h +++ b/text.h @@ -132,7 +132,7 @@ size_t text_size(Text*); */ struct stat text_stat(const Text*); /** Query whether the text contains any unsaved modifications. */ -bool text_modified(Text*); +bool text_modified(const Text*); /** * @} * @defgroup modify -- cgit v1.2.3