1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Add some missing 'const' in version.c's string data.

I can't believe this codebase is around 20 years old and has had
multiple giant const-fixing patches, and yet there are _still_ things
that should have been const for years and aren't.
This commit is contained in:
Simon Tatham
2016-04-07 07:52:55 +01:00
parent c0a57d0b9e
commit f0f19b6147
5 changed files with 6 additions and 6 deletions

View File

@ -1158,7 +1158,7 @@ void ser_setup_config_box(struct controlbox *b, int midsession,
/*
* Exports from version.c.
*/
extern char ver[];
extern const char ver[];
/*
* Exports from unicode.c.