1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-25 13:29:41 +00:00

Make strtok __fastcall__

git-svn-id: svn://svn.cc65.org/cc65/trunk@3514 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2005-05-17 21:11:09 +00:00
parent 412a1300f9
commit c2140cdb08
2 changed files with 8 additions and 8 deletions

View File

@ -1,15 +1,15 @@
/*****************************************************************************/
/* */
/* string.h */
/* string.h */
/* */
/* String handling */
/* */
/* */
/* */
/* (C) 1998-2004 Ullrich von Bassewitz */
/* Römerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* (C) 1998-2005, Ullrich von Bassewitz */
/* Römerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* */
/* */
/* This software is provided 'as-is', without any expressed or implied */
@ -56,7 +56,7 @@ char* __fastcall__ strncpy (char* dest, const char* src, size_t count);
char* __fastcall__ strrchr (const char* s, int c);
size_t __fastcall__ strspn (const char* s1, const char* s2);
char* __fastcall__ strstr (const char* str, const char* substr);
char* strtok (char* s1, const char* s2);
char* __fastcall__ strtok (char* s1, const char* s2);
size_t strxfrm (char* s1, const char* s2, size_t count);
void* __fastcall__ memchr (const void* mem, int c, size_t count);
int __fastcall__ memcmp (const void* p1, const void* p2, size_t count);

View File

@ -27,7 +27,7 @@ static char* Last = 0;
char* strtok (register char* s1, const char* s2)
char* __fastcall__ strtok (register char* s1, const char* s2)
{
char c;
char* start;
@ -72,6 +72,6 @@ char* strtok (register char* s1, const char* s2)
/* Return the start of the token */
return start;
}