diff options
author | Maria Matejka <mq@jmq.cz> | 2020-04-08 22:25:15 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2020-04-09 15:37:14 +0200 |
commit | fd9f0c0640fd02a26b96b4f9d3cbbffbb6544a84 (patch) | |
tree | 3cfac115f49d41f3d62d41c4ddfffe50f2c381a4 /sysdep/unix/io.c | |
parent | a109056145a6bc8a6b498ecb6e309ebc143c8b3c (diff) |
Configuration strings are constant.
This is merely a const propagation. There was no problem in there.
Diffstat (limited to 'sysdep/unix/io.c')
-rw-r--r-- | sysdep/unix/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index f4e45a5f..f6cc0e32 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -91,7 +91,7 @@ static struct resclass rf_class = { }; struct rfile * -rf_open(pool *p, char *name, char *mode) +rf_open(pool *p, const char *name, const char *mode) { FILE *f = fopen(name, mode); |