Normalized coding style.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5500 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
/*
|
||||
* systime.c
|
||||
*
|
||||
@@ -8,9 +7,9 @@
|
||||
#include <time.h>
|
||||
#include <geos.h>
|
||||
|
||||
time_t _systime(void) {
|
||||
|
||||
struct tm currentTime;
|
||||
time_t _systime(void)
|
||||
{
|
||||
struct tm currentTime;
|
||||
|
||||
currentTime.tm_sec = system_date.s_seconds;
|
||||
currentTime.tm_min = system_date.s_minutes;
|
||||
@@ -24,11 +23,9 @@ struct tm currentTime;
|
||||
currentTime.tm_isdst = -1;
|
||||
|
||||
return mktime(¤tTime);
|
||||
|
||||
}
|
||||
|
||||
clock_t clock(void) {
|
||||
|
||||
clock_t clock(void)
|
||||
{
|
||||
return _systime();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user