Make setlocale __fastcall__

git-svn-id: svn://svn.cc65.org/cc65/trunk@2470 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-10-02 21:44:56 +00:00
parent 65044306a0
commit c5e5205e94
2 changed files with 8 additions and 8 deletions

View File

@@ -6,10 +6,10 @@
/* */ /* */
/* */ /* */
/* */ /* */
/* (C) 1998-2000 Ullrich von Bassewitz */ /* (C) 1998-2003 Ullrich von Bassewitz */
/* Wacholderweg 14 */ /* R<EFBFBD>merstrasse 52 */
/* D-70597 Stuttgart */ /* D-70794 Filderstadt */
/* EMail: uz@musoftware.de */ /* EMail: uz@cc65.org */
/* */ /* */
/* */ /* */
/* This software is provided 'as-is', without any expressed or implied */ /* This software is provided 'as-is', without any expressed or implied */
@@ -76,7 +76,7 @@ struct lconv {
/* Function prototypes */ /* Function prototypes */
struct lconv* localeconv (void); struct lconv* localeconv (void);
char* setlocale (int category, const char* locale); char* __fastcall__ setlocale (int category, const char* locale);

View File

@@ -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') { if (locale == 0 || (locale [0] == 'C' && locale [1] == '\0') || locale [0] == '\0') {
/* No change, or value already set, our locale is the "C" locale */ /* No change, or value already set, our locale is the "C" locale */