1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-16 02:27:32 -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

@ -10,8 +10,8 @@
#include "version.h"
char ver[] = TEXTVER;
char sshver[] = SSHVER;
const char ver[] = TEXTVER;
const char sshver[] = SSHVER;
/*
* SSH local version string MUST be under 40 characters. Here's a