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] - Rev 864

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

/* 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
 

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

powered by: WebSVN 2.1.0

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