From 13baedeb741a4a07b23f033141741ddd8ae64e4d Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 18 Jan 2002 16:25:50 +0000 Subject: * libc/include/time.h: Add prototype for strptime for Cygwin. --- newlib/ChangeLog | 4 ++++ newlib/libc/include/time.h | 1 + 2 files changed, 5 insertions(+) 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 + + * libc/include/time.h: Add prototype for strptime for Cygwin. + 2002-01-17 Nick Clifton * 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; -- cgit v1.1