aboutsummaryrefslogtreecommitdiff
path: root/Linux_C_12/cCCallSystem_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/cCCallSystem_121.c
parentFixed crashes with windows (diff)
Get rid of all the tabs. So annoying.
Diffstat (limited to 'Linux_C_12/cCCallSystem_121.c')
-rw-r--r--Linux_C_12/cCCallSystem_121.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/Linux_C_12/cCCallSystem_121.c b/Linux_C_12/cCCallSystem_121.c
index cab13a8..fb890b3 100644
--- a/Linux_C_12/cCCallSystem_121.c
+++ b/Linux_C_12/cCCallSystem_121.c
@@ -1,12 +1,12 @@
/********************************************************************************************
- 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 related to system handling that is not part of standard cross call handling.
+ About this module:
+ Routines related to system handling that is not part of standard cross call handling.
********************************************************************************************/
#include "cCCallSystem_121.h"
#include <time.h>
@@ -92,14 +92,14 @@ void WinGetDate (OS ios, int *year, int *month, int *day,
gettimeofday(&t,NULL);
gmtime_r(&t.tv_sec,&theTime);
- *year = 1900 + theTime.tm_year;
- *month = 1 + theTime.tm_mon;
- *day = theTime.tm_mday;
+ *year = 1900 + theTime.tm_year;
+ *month = 1 + theTime.tm_mon;
+ *day = theTime.tm_mday;
/* Clean treats 1 == Weekend, 2 == Weekday */
- *weekday = ((theTime.tm_wday == 0) || (theTime.tm_wday == 6)) ? 1 : 2;
+ *weekday = ((theTime.tm_wday == 0) || (theTime.tm_wday == 6)) ? 1 : 2;
printf("Date: %d-%d-%d\n",*month, *day, *year);
- *oos = ios;
+ *oos = ios;
}