diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2020-09-30 10:21:25 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2020-10-10 10:03:17 +0200 |
| commit | 40013d270248cb9eb720bb498e5cfe2df84450ca (patch) | |
| tree | 335d293f1bec54fb0d09db76c501f92efb9b15b1 /text.h | |
| parent | 68ac220b79d6db21df2fa78a562beff0db169dd1 (diff) | |
| download | vis-40013d270248cb9eb720bb498e5cfe2df84450ca.tar.gz vis-40013d270248cb9eb720bb498e5cfe2df84450ca.tar.xz | |
text: mark text_stat argument as const
Diffstat (limited to 'text.h')
| -rw-r--r-- | text.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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*); /** |
