From dea7e25ca71e6a6c690f09a43b04f2858c1c348d Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 9 Apr 2002 20:55:55 +0000 Subject: 2002-04-09 Mark Bradshaw * libc/include/time.h: Fix strptime declaration. * libc/time/Makefile.am: Add strptime.c. * libc/time/Makefile.in: Regenerated. * libc/time/strptime.c: New file. --- newlib/libc/include/time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libc/include') diff --git a/newlib/libc/include/time.h b/newlib/libc/include/time.h index 1398ba4c6..fe43c285e 100644 --- a/newlib/libc/include/time.h +++ b/newlib/libc/include/time.h @@ -55,6 +55,7 @@ struct tm *_EXFUN(gmtime, (const time_t *_timer)); struct tm *_EXFUN(localtime,(const time_t *_timer)); #endif size_t _EXFUN(strftime, (char *_s, size_t _maxsize, const char *_fmt, const struct tm *_t)); +char *_EXFUN(strptime, (const char *, const char *, struct tm *)); char *_EXFUN(asctime_r, (const struct tm *, char *)); char *_EXFUN(ctime_r, (const time_t *, char *)); @@ -62,7 +63,6 @@ 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.2.3