Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | mjames | 1 | /* |
2 | * $Header: C:/cvsroot/Vert03/versionlib/version.c,v 1.2 2004/06/22 21:44:14 mjames Exp $ |
||
3 | * |
||
4 | * $Log: version.c,v $ |
||
5 | * Revision 1.2 2004/06/22 21:44:14 mjames |
||
6 | * Firrst build most files |
||
7 | * |
||
8 | * Revision 1.1.1.1 2003/11/04 23:34:56 mjames |
||
9 | * Imported into local repositrory |
||
10 | * |
||
11 | * Revision 1.7 2002/12/04 22:42:20 mjames |
||
12 | * Initial release Eagle PCB reader |
||
13 | * |
||
14 | * Revision 1.6 2002/08/23 14:03:16 mjames |
||
15 | * Version string split up so that require command is possible |
||
16 | * |
||
17 | * Revision 1.5 2002/01/03 16:36:10 mjames |
||
18 | * Method of accessing Vertical version changed to avoid |
||
19 | * global variable |
||
20 | * |
||
21 | * Revision 1.4 2001/10/31 22:20:19 mjames |
||
22 | * Tidying up problematical comments caused by CVS |
||
23 | * 'intelligent' comment guessing |
||
24 | * |
||
25 | * Revision 1.3 2001/09/16 19:54:27 mjames |
||
26 | * tidying |
||
27 | * |
||
28 | * Revision 1.2 2001/09/13 21:05:52 mjames |
||
29 | * Changed version code to reflect major differences in the features of the |
||
30 | * code |
||
31 | * |
||
32 | * Revision 1.1 2001/07/09 10:04:34 mjames |
||
33 | * Placed the version string in an independent file to save time on building |
||
34 | * all of the variants of Vertical |
||
35 | * |
||
36 | */ |
||
37 | |||
38 | #include <stdio.h> |
||
39 | #include <string.h> |
||
11 | mjames | 40 | #include "version.h" |
41 | /* modifications to avoid global variables: using access functions instead */ |
||
2 | mjames | 42 | |
11 | mjames | 43 | char * Vertical_Version; |
44 | char * Vertical_Time; |
||
45 | char * Vertical_Release; |
||
2 | mjames | 46 | |
11 | mjames | 47 | void InitialiseVersionStrings(void) |
48 | { |
||
49 | Vertical_Version = VERTICAL_VERSION_NUMBER_STRING; |
||
50 | Vertical_Time = __DATE__ " at " __TIME__; |
||
51 | Vertical_Release = VERTICAL_VERSION; |
||
52 | } |
||
53 |