Changeset 1891 for trunk/source/cddrive.cpp
- Timestamp:
- 03/27/08 12:40:50 (8 months ago)
- Files:
-
- 1 modified
-
trunk/source/cddrive.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/cddrive.cpp
r1878 r1891 352 352 * 353 353 * cdVersion - puts version number of code into string 354 * incoming string must have at least 8 charand will become null354 * incoming string must have sufficient length and will become null 355 355 * terminated string 356 356 * 357 357 ************************************************************************/ 358 358 359 void cdVersion(char chString[] ) 360 { 361 DEBUG_ENTRY( "cdVersion()" ); 362 363 if( !lgcdInitCalled ) 364 { 365 printf(" cdInit was not called first - this must be the first call.\n"); 366 cdEXIT(EXIT_FAILURE); 367 } 368 369 /* version was set by cdInit */ 370 strcpy( chString , version.chVersion ); 359 void cdVersion(char chString[]) 360 { 361 strcpy( chString , version::Inst().chVersion ); 371 362 return; 372 363 } … … 381 372 382 373 /* cdDate - puts date of code into string */ 383 void cdDate(char chString[] ) 384 { 385 /* date was set by cdInit */ 386 strcpy( chString , version.chDate ); 374 void cdDate(char chString[]) 375 { 376 strcpy( chString , version::Inst().chDate ); 387 377 return; 388 378 }
