- struct tm *local;
- context_init_context();
-
- EnterCriticalSection(&CriticalSection);
- local = localtime(timep);
- memcpy(result,local,sizeof(struct tm));
- LeaveCriticalSection(&CriticalSection);
- return result;
+ struct tm *local;
+
+ context_init_context();
+
+ EnterCriticalSection(&CriticalSection);
+ local = localtime(timep);
+ memcpy(result, local, sizeof(struct tm));
+ LeaveCriticalSection(&CriticalSection);
+ return result;