aboutsummaryrefslogtreecommitdiff
path: root/Linux_C_12/cdebug_121.c
diff options
context:
space:
mode:
authorCamil Staps2015-08-12 13:59:08 +0200
committerCamil Staps2015-08-12 13:59:08 +0200
commitb5e3f8cb0a19ec0672cd27c8df0f3393643aaf42 (patch)
tree245b461bf015353b41d3df72cfd1868e110d5d23 /Linux_C_12/cdebug_121.c
parentFixed crashes with windows (diff)
Get rid of all the tabs. So annoying.
Diffstat (limited to 'Linux_C_12/cdebug_121.c')
-rw-r--r--Linux_C_12/cdebug_121.c36
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;
}