diff options
Diffstat (limited to 'newlib/libc/sys/linux/getdate_err.c')
-rw-r--r-- | newlib/libc/sys/linux/getdate_err.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/newlib/libc/sys/linux/getdate_err.c b/newlib/libc/sys/linux/getdate_err.c deleted file mode 100644 index e90b74b83..000000000 --- a/newlib/libc/sys/linux/getdate_err.c +++ /dev/null @@ -1,18 +0,0 @@ -/* The getdate_err variable is stored in the reentrancy structure. This - function returns its address for use by the getdate_err macro defined in - time.h. */ - -#include <errno.h> -#include <reent.h> - -#ifndef _REENT_ONLY - -int * -__getdate_err () -{ - struct _reent *ptr = _REENT; - _REENT_CHECK_MISC(ptr); - return _REENT_GETDATE_ERR_P(ptr); -} - -#endif |