From 77e915d73ae2367245976f9c42c9e8f3a630ab12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 30 Sep 2020 10:24:30 +0200 Subject: text: mark text_state 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 17445fc..16d7190 100644 --- a/text.h +++ b/text.h @@ -197,7 +197,7 @@ size_t text_restore(Text*, time_t); * .. note:: TODO: This is currently not the same as the time of the last snapshot. * @endrst */ -time_t text_state(Text*); +time_t text_state(const Text*); /** * @} * @defgroup lines -- cgit v1.2.3