* include/stdio.h (swscanf): Make first arugument const.

* include/wchar.h (swscanf): Ditto.
	* include/tchar.h (_tfopen): New _UNICODE define.
	(_tgetenv): Ditto.
	(_tsetlocale): Ditto.
This commit is contained in:
Earnie Boyd 2001-06-11 18:13:15 +00:00
parent 3ecfcf5715
commit 37fb7a2ccb
4 changed files with 16 additions and 2 deletions

View File

@ -1,4 +1,12 @@
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.

View File

@ -311,7 +311,7 @@ int vwprintf (const wchar_t*, va_list);
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*);

View File

@ -186,11 +186,14 @@ typedef wchar_t TCHAR;
#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
@ -245,6 +248,8 @@ typedef char TCHAR;
#define _fputtc fputc
#define _fputtchar _fputchar
#define _fputts fputs
#define _tfopen fopen
#define _tgetenv getenv
#define _gettc getc
#define _getts gets
#define _puttc putc
@ -328,6 +333,7 @@ typedef char TCHAR;
#define _tremove remove
#define _trename rename
#define _tsopen _sopen
#define _tsetlocale setlocale
#define _tunlink _unlink
#define _tfinddata_t _finddata_t

View File

@ -110,7 +110,7 @@ int vwprintf (const wchar_t*, va_list);
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*);