* miscfuncs.cc (strlwr): Rename from cygwin_strlwr. Drop __stdcall

decoration.
	(strupr): Rename from cygwin_strupr.  Drop __stdcall decoration.
	* string.h (strlwr): Remove override macro.  Simply declare.
	(strupr): Ditto.
This commit is contained in:
Corinna Vinschen 2014-08-18 18:24:06 +00:00
parent d5fd6aeb6d
commit bd094739f3
3 changed files with 14 additions and 11 deletions

View File

@ -1,3 +1,11 @@
2014-08-18 Corinna Vinschen <corinna@vinschen.de>
* miscfuncs.cc (strlwr): Rename from cygwin_strlwr. Drop __stdcall
decoration.
(strupr): Rename from cygwin_strupr. Drop __stdcall decoration.
* string.h (strlwr): Remove override macro. Simply declare.
(strupr): Ditto.
2014-08-18 Corinna Vinschen <corinna@vinschen.de>
* dtable.cc (dtable::init_std_file_from_handle): Mention that console

View File

@ -146,8 +146,8 @@ cygwin_strncasecmp (const char *cs, const char *ct, size_t n)
return RtlCompareUnicodeString (&us, &ut, TRUE);
}
extern "C" char * __stdcall
cygwin_strlwr (char *string)
extern "C" char *
strlwr (char *string)
{
UNICODE_STRING us;
size_t len = (strlen (string) + 1) * sizeof (WCHAR);
@ -160,8 +160,8 @@ cygwin_strlwr (char *string)
return string;
}
extern "C" char * __stdcall
cygwin_strupr (char *string)
extern "C" char *
strupr (char *string)
{
UNICODE_STRING us;
size_t len = (strlen (string) + 1) * sizeof (WCHAR);

View File

@ -79,13 +79,8 @@ int __stdcall cygwin_strncasecmp (const char *, const char *, size_t);
#define strcasematch(s1,s2) (!cygwin_strcasecmp ((s1),(s2)))
#define strncasematch(s1,s2,n) (!cygwin_strncasecmp ((s1),(s2),(n)))
#undef strlwr
#define strlwr cygwin_strlwr
char * __stdcall cygwin_strlwr (char *);
#undef strupr
#define strupr cygwin_strupr
char * __stdcall cygwin_strupr (char *);
char *strlwr (char *);
char *strupr (char *);
#endif /* __INSIDE_CYGWIN__ */