aboutsummaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
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 6935ac5..f66df86 100644
--- a/text.h
+++ b/text.h
@@ -130,7 +130,7 @@ size_t text_size(Text*);
* @endrst
* @return See ``stat(2)`` for details.
*/
-struct stat text_stat(Text*);
+struct stat text_stat(const Text*);
/** Query whether the text contains any unsaved modifications. */
bool text_modified(Text*);
/**