Subversion Repositories Kolibri OS

Rev

Rev 4874 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4874 Rev 4921
Line 51... Line 51...
51
 
51
 
52
struct tm *
52
struct tm *
53
_DEFUN (localtime, (tim_p),
53
_DEFUN (localtime, (tim_p),
54
	_CONST time_t * tim_p)
54
	_CONST time_t * tim_p)
-
 
55
{
-
 
56
  struct _reent *reent = _REENT;
55
{
57
 
56
  _REENT_CHECK_TM(_REENT);
58
  _REENT_CHECK_TM(reent);
57
  return localtime_r (tim_p, (struct tm *)_REENT_TM(_REENT));
59
  return localtime_r (tim_p, (struct tm *)_REENT_TM(reent));
Line 58... Line 60...
58
}
60
}