From: cuz Date: Sun, 28 Nov 2004 18:10:47 +0000 (+0000) Subject: Small optimization X-Git-Tag: V2.12.0~523 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=163c4e2fc86dda0ab302d830a38919fbbdd7c5fc;p=cc65 Small optimization git-svn-id: svn://svn.cc65.org/cc65/trunk@3312 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/common/_scanf.c b/libsrc/common/_scanf.c index 367c09af7..036a6eb87 100644 --- a/libsrc/common/_scanf.c +++ b/libsrc/common/_scanf.c @@ -71,12 +71,12 @@ static const unsigned char Bits[8] = { /*****************************************************************************/ -/* Character sets */ +/* Character sets */ /*****************************************************************************/ -static void AddCharToSet (unsigned char C) +static void __fastcall__ AddCharToSet (unsigned char C) /* Set the given bit in the character set */ { asm ("ldy #%o", C); @@ -95,7 +95,7 @@ static void AddCharToSet (unsigned char C) -static unsigned char IsCharInSet (unsigned char C) +static unsigned char __fastcall__ IsCharInSet (unsigned char C) /* Check if the given char is part of the character set */ { asm ("ldy #%o", C);