mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
Make setlocale __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2470 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
65044306a0
commit
c5e5205e94
@ -1,15 +1,15 @@
|
||||
/*****************************************************************************/
|
||||
/* */
|
||||
/* locale.h */
|
||||
/* locale.h */
|
||||
/* */
|
||||
/* Localization <locale.h> */
|
||||
/* Localization <locale.h> */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* (C) 1998-2000 Ullrich von Bassewitz */
|
||||
/* Wacholderweg 14 */
|
||||
/* D-70597 Stuttgart */
|
||||
/* EMail: uz@musoftware.de */
|
||||
/* (C) 1998-2003 Ullrich von Bassewitz */
|
||||
/* Römerstrasse 52 */
|
||||
/* D-70794 Filderstadt */
|
||||
/* EMail: uz@cc65.org */
|
||||
/* */
|
||||
/* */
|
||||
/* This software is provided 'as-is', without any expressed or implied */
|
||||
@ -76,7 +76,7 @@ struct lconv {
|
||||
|
||||
/* Function prototypes */
|
||||
struct lconv* localeconv (void);
|
||||
char* setlocale (int category, const char* locale);
|
||||
char* __fastcall__ setlocale (int category, const char* locale);
|
||||
|
||||
|
||||
|
||||
|
@ -56,7 +56,7 @@ struct lconv* localeconv (void)
|
||||
|
||||
|
||||
|
||||
char* setlocale (int, const char* locale)
|
||||
char* __fastcall__ setlocale (int, const char* locale)
|
||||
{
|
||||
if (locale == 0 || (locale [0] == 'C' && locale [1] == '\0') || locale [0] == '\0') {
|
||||
/* No change, or value already set, our locale is the "C" locale */
|
||||
|
Loading…
Reference in New Issue
Block a user