diff options
-rw-r--r-- | include/proto.h | 2 | ||||
-rw-r--r-- | mbbsd/read.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/proto.h b/include/proto.h index a721356b..e16da190 100644 --- a/include/proto.h +++ b/include/proto.h @@ -463,7 +463,7 @@ int othello_main(void); int main_railway(void); /* read */ -void i_read(int cmdmode, char *direct, void (*dotitle)(), void (*doentry)(), const onekey_t *rcmdlist, int bidcache); +void i_read(int cmdmode, const char *direct, void (*dotitle)(), void (*doentry)(), const onekey_t *rcmdlist, int bidcache); void fixkeep(const char *s, int first); keeploc_t *getkeep(const char *s, int def_topline, int def_cursline); int Tagger(time4_t chrono, int recno, int mode); diff --git a/mbbsd/read.c b/mbbsd/read.c index 4860a569..1b35b953 100644 --- a/mbbsd/read.c +++ b/mbbsd/read.c @@ -800,7 +800,7 @@ get_records_and_bottom(char *direct, fileheader_t* headers, } void -i_read(int cmdmode, char *direct, void (*dotitle) (), +i_read(int cmdmode, const char *direct, void (*dotitle) (), void (*doentry) (), const onekey_t * rcmdlist, int bidcache) { keeploc_t *locmem = NULL; |