From c5e5205e941fb9589bd20ae4a2fc79f787efd489 Mon Sep 17 00:00:00 2001 From: cuz Date: Thu, 2 Oct 2003 21:44:56 +0000 Subject: [PATCH] Make setlocale __fastcall__ git-svn-id: svn://svn.cc65.org/cc65/trunk@2470 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/locale.h | 14 +++++++------- libsrc/common/locale.c | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/locale.h b/include/locale.h index 8776abf66..d21488c30 100644 --- a/include/locale.h +++ b/include/locale.h @@ -1,15 +1,15 @@ /*****************************************************************************/ /* */ -/* locale.h */ +/* locale.h */ /* */ -/* Localization */ +/* Localization */ /* */ /* */ /* */ -/* (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); diff --git a/libsrc/common/locale.c b/libsrc/common/locale.c index efb055cb5..f03a68e6f 100644 --- a/libsrc/common/locale.c +++ b/libsrc/common/locale.c @@ -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 */ -- 2.39.5