diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2003-04-07 01:22:46 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2003-04-07 01:22:46 +0000 |
commit | 915aad990b085a3f72d194b1f8738148b52f4cf7 (patch) | |
tree | 08a9a8b4d14dbbc455cfde1ec6864583628f72b8 /winsup/mingw/include/time.h | |
parent | b972aa34dc5ab56333b00984201d5c3077709087 (diff) | |
download | gdb-cvs/mingw-std-ns-branch.tar.gz |
* include/_mingw.h: Don't include <bits/c++config.h>.
mingw-std-ns-branchcvs/mingw-std-ns-branch
(__MINGW_USE_NAMESPACES): Define as _GLIBCPP_USE_NAMESPACES.
* include/ctype.h: Whitespace changes.
* include/locale.h: Remove duplicate inclusion of <stddef.h>.
* include/stdlib.h: (strtof, strtold): Move out of std namespace.
(wcstof, wcstold): Likewise.
* include/time.h (strftime): Remove duplicate declaration.
(_wasctime): Qualify tm with __CSTD.
* include/wchar.h (wcstof, wcstold): Move out of std namespace.
(wcstoll, wcstoull): Likewise.
* include/sys/types.h (__MINGW_USE_NAMESPACES): Use instead of
__USE_STD_CXX.
Diffstat (limited to 'winsup/mingw/include/time.h')
-rw-r--r-- | winsup/mingw/include/time.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/mingw/include/time.h b/winsup/mingw/include/time.h index 581f9229669..43b024b9055 100644 --- a/winsup/mingw/include/time.h +++ b/winsup/mingw/include/time.h @@ -122,7 +122,6 @@ extern _CRTIMP void __cdecl _tzset (void); extern _CRTIMP void __cdecl tzset (void); #endif -_CRTIMP size_t __cdecl strftime(char*, size_t, const char*, const struct tm*); _CRTIMP char* __cdecl _strdate(char*); _CRTIMP char* __cdecl _strtime(char*); @@ -182,7 +181,7 @@ __MINGW_IMPORT char *tzname[2]; /* wide function prototypes, also declared in wchar.h */ -_CRTIMP wchar_t* __cdecl _wasctime(const struct tm*); +_CRTIMP wchar_t* __cdecl _wasctime(const struct __CSTD tm*); _CRTIMP wchar_t* __cdecl _wctime(const __CSTD time_t*); _CRTIMP wchar_t* __cdecl _wstrdate(wchar_t*); _CRTIMP wchar_t* __cdecl _wstrtime(wchar_t*); |