* include/wchar.h (swscanf): Ditto.
* include/tchar.h (_tfopen): New _UNICODE define.
(_tgetenv): Ditto.
(_tsetlocale): Ditto.
+2001-06-11 Mattia Barbon <mbarbon@dsi.unive.it>
+
+ * include/stdio.h (swscanf): Make first arugument const.
+ * include/wchar.h (swscanf): Ditto.
+ * include/tchar.h (_tfopen): New _UNICODE define.
+ (_tgetenv): Ditto.
+ (_tsetlocale): Ditto.
+
2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
* include/_mingw.h: Change version to 1.0.
int vswprintf (wchar_t*, const wchar_t*, va_list);
int fwscanf (FILE*, const wchar_t*, ...);
int wscanf (const wchar_t*, ...);
-int swscanf (wchar_t*, const wchar_t*, ...);
+int swscanf (const wchar_t*, const wchar_t*, ...);
wint_t fgetwc (FILE*);
wint_t fputwc (wchar_t, FILE*);
wint_t ungetwc (wchar_t, FILE*);
#define _tcreat _wcreat
#define _tfindfirst _wfindfirst
#define _tfindnext _wfindnext
+#define _tfopen _wfopen
+#define _tgetenv _wgetenv
#define _tmktemp _wmktemp
#define _topen _wopen
#define _tremove _wremove
#define _trename _wrename
#define _tsopen _wsopen
+#define _tsetlocale _wsetlocale
#define _tunlink _wunlink
#define _tfinddata_t _wfinddata_t
#define _tfindfirsti64 _wfindfirsti64
#define _fputtc fputc
#define _fputtchar _fputchar
#define _fputts fputs
+#define _tfopen fopen
+#define _tgetenv getenv
#define _gettc getc
#define _getts gets
#define _puttc putc
#define _tremove remove
#define _trename rename
#define _tsopen _sopen
+#define _tsetlocale setlocale
#define _tunlink _unlink
#define _tfinddata_t _finddata_t
int vswprintf (wchar_t*, const wchar_t*, va_list);
int fwscanf (FILE*, const wchar_t*, ...);
int wscanf (const wchar_t*, ...);
-int swscanf (wchar_t*, const wchar_t*, ...);
+int swscanf (const wchar_t*, const wchar_t*, ...);
wint_t fgetwc (FILE*);
wint_t fputwc (wchar_t, FILE*);
wint_t ungetwc (wchar_t, FILE*);