]> asedeno.scripts.mit.edu Git - PuTTY.git/blob - version.c
Add some missing 'const' in version.c's string data.
[PuTTY.git] / version.c
1 /*
2  * PuTTY version numbering
3  */
4
5 /*
6  * The difficult part of deciding what goes in these version strings
7  * is done in Buildscr, and then written into version.h. All we have
8  * to do here is to drop it into variables of the right names.
9  */
10
11 #include "version.h"
12
13 const char ver[] = TEXTVER;
14 const char sshver[] = SSHVER;
15
16 /*
17  * SSH local version string MUST be under 40 characters. Here's a
18  * compile time assertion to verify this.
19  */
20 enum { vorpal_sword = 1 / (sizeof(sshver) <= 40) };