OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [sys/] [linux/] [getdate_err.c] - Blame information for rev 853

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
/* The getdate_err variable is stored in the reentrancy structure.  This
2
   function returns its address for use by the getdate_err macro defined in
3
   time.h.  */
4
 
5
#include <errno.h>
6
#include <reent.h>
7
 
8
#ifndef _REENT_ONLY
9
 
10
int *
11
__getdate_err ()
12
{
13
  struct _reent *ptr = _REENT;
14
  _REENT_CHECK_MISC(ptr);
15
  return _REENT_GETDATE_ERR_P(ptr);
16
}
17
 
18
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.