mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
f0f19b6147
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.
21 lines
492 B
C
21 lines
492 B
C
/*
|
|
* PuTTY version numbering
|
|
*/
|
|
|
|
/*
|
|
* The difficult part of deciding what goes in these version strings
|
|
* is done in Buildscr, and then written into version.h. All we have
|
|
* to do here is to drop it into variables of the right names.
|
|
*/
|
|
|
|
#include "version.h"
|
|
|
|
const char ver[] = TEXTVER;
|
|
const char sshver[] = SSHVER;
|
|
|
|
/*
|
|
* SSH local version string MUST be under 40 characters. Here's a
|
|
* compile time assertion to verify this.
|
|
*/
|
|
enum { vorpal_sword = 1 / (sizeof(sshver) <= 40) };
|