diff options
author | Christopher Faylor <me@cgf.cx> | 2002-01-18 16:25:50 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-01-18 16:25:50 +0000 |
commit | 13baedeb741a4a07b23f033141741ddd8ae64e4d (patch) | |
tree | 148c0637066614771c6e225dd761d125711e76a0 | |
parent | e47cd9cd5f353865d8704cbea5b64281e421982b (diff) | |
download | newlib-13baedeb741a4a07b23f033141741ddd8ae64e4d.zip newlib-13baedeb741a4a07b23f033141741ddd8ae64e4d.tar.gz newlib-13baedeb741a4a07b23f033141741ddd8ae64e4d.tar.bz2 |
* libc/include/time.h: Add prototype for strptime for Cygwin.
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/include/time.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 75c9223..508f597 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com> + + * libc/include/time.h: Add prototype for strptime for Cygwin. + 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and diff --git a/newlib/libc/include/time.h b/newlib/libc/include/time.h index f8bb53e..1398ba4 100644 --- a/newlib/libc/include/time.h +++ b/newlib/libc/include/time.h @@ -62,6 +62,7 @@ struct tm *_EXFUN(gmtime_r, (const time_t *, struct tm *)); struct tm *_EXFUN(localtime_r, (const time_t *, struct tm *)); #ifdef __CYGWIN__ +char *_EXFUN(strptime, (const char *, const char *, struct tm *)); #ifndef __STRICT_ANSI__ extern __IMPORT time_t _timezone; extern __IMPORT int _daylight; |