summaryrefslogtreecommitdiff
path: root/lib/timer.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@jmq.cz>2020-04-08 22:25:15 +0200
committerMaria Matejka <mq@ucw.cz>2020-04-09 15:37:14 +0200
commitfd9f0c0640fd02a26b96b4f9d3cbbffbb6544a84 (patch)
tree3cfac115f49d41f3d62d41c4ddfffe50f2c381a4 /lib/timer.c
parenta109056145a6bc8a6b498ecb6e309ebc143c8b3c (diff)
Configuration strings are constant.
This is merely a const propagation. There was no problem in there.
Diffstat (limited to 'lib/timer.c')
-rw-r--r--lib/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/timer.c b/lib/timer.c
index ddf41340..be695114 100644
--- a/lib/timer.c
+++ b/lib/timer.c
@@ -253,7 +253,7 @@ timer_init(void)
* type &btime.
*/
btime
-tm_parse_time(char *x)
+tm_parse_time(const char *x)
{
struct tm tm;
int usec, n1, n2, n3, r;