mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 11:32: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:
@ -134,7 +134,7 @@ static void progress_update(void *param, int action, int phase, int iprogress)
|
||||
}
|
||||
}
|
||||
|
||||
extern char ver[];
|
||||
extern const char ver[];
|
||||
|
||||
struct PassphraseProcStruct {
|
||||
char **passphrase;
|
||||
|
@ -49,7 +49,7 @@
|
||||
|
||||
#define APPNAME "Pageant"
|
||||
|
||||
extern char ver[];
|
||||
extern const char ver[];
|
||||
|
||||
static HWND keylist;
|
||||
static HWND aboutbox;
|
||||
|
Reference in New Issue
Block a user