diff options
| -rw-r--r-- | text.c | 2 | ||||
| -rw-r--r-- | text.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1218,7 +1218,7 @@ out: return NULL; } -struct stat text_stat(Text *txt) { +struct stat text_stat(const Text *txt) { return txt->info; } @@ -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*); /** |
