URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 148 |
Rev 158 |
/* The getdate_err variable is stored in the reentrancy structure. This
|
/* The getdate_err variable is stored in the reentrancy structure. This
|
function returns its address for use by the getdate_err macro defined in
|
function returns its address for use by the getdate_err macro defined in
|
time.h. */
|
time.h. */
|
|
|
#include <errno.h>
|
#include <errno.h>
|
#include <reent.h>
|
#include <reent.h>
|
|
|
#ifndef _REENT_ONLY
|
#ifndef _REENT_ONLY
|
|
|
int *
|
int *
|
__getdate_err ()
|
__getdate_err ()
|
{
|
{
|
struct _reent *ptr = _REENT;
|
struct _reent *ptr = _REENT;
|
_REENT_CHECK_MISC(ptr);
|
_REENT_CHECK_MISC(ptr);
|
return _REENT_GETDATE_ERR_P(ptr);
|
return _REENT_GETDATE_ERR_P(ptr);
|
}
|
}
|
|
|
#endif
|
#endif
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.