diff options
Diffstat (limited to 'Linux_C_12/cdebug_121.c')
-rw-r--r-- | Linux_C_12/cdebug_121.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/Linux_C_12/cdebug_121.c b/Linux_C_12/cdebug_121.c index 9b4a438..c0e124b 100644 --- a/Linux_C_12/cdebug_121.c +++ b/Linux_C_12/cdebug_121.c @@ -1,39 +1,39 @@ /********************************************************************************************
- Clean OS Windows library module version 1.2.1.
- This module is part of the Clean Object I/O library, version 1.2.1,
- for the Windows platform.
+ Clean OS Windows library module version 1.2.1.
+ This module is part of the Clean Object I/O library, version 1.2.1,
+ for the Windows platform.
********************************************************************************************/
/********************************************************************************************
- About this module:
- Routines useful for debugging.
+ About this module:
+ Routines useful for debugging.
********************************************************************************************/
#include "cdebug_121.h"
#include "time.h"
int Rand (void)
{
- static int holdrand;
- static int randinited = 0;
+ static int holdrand;
+ static int randinited = 0;
printf("Rand\n");
- if (!randinited)
- {
- holdrand = (int) 0; //GetTickCount ();
- randinited = -1;
- }
+ if (!randinited)
+ {
+ holdrand = (int) 0; //GetTickCount ();
+ randinited = -1;
+ }
- holdrand = holdrand * 214013 + 2531011;
+ holdrand = holdrand * 214013 + 2531011;
- return ((holdrand >> 16) & 0x7fff);
+ return ((holdrand >> 16) & 0x7fff);
}
OS ConsolePrint (CLEAN_STRING cleanstr, OS os)
{
- char *cstr;
+ char *cstr;
printf("ConsolePrint\n");
- cstr = cstring (cleanstr);
- rprintf (cstr);
- return os;
+ cstr = cstring (cleanstr);
+ rprintf (cstr);
+ return os;
}
|