]> git.sur5r.net Git - cc65/commitdiff
Make strtok __fastcall__
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 17 May 2005 21:11:09 +0000 (21:11 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 17 May 2005 21:11:09 +0000 (21:11 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3514 b7a2c559-68d2-44c3-8de9-860c34a00d81

include/string.h
libsrc/common/strtok.c

index 5459eaaf5a006c28f0cd521db57197276346c66c..d2d246e86999b03621c0693c41ddaeadb18c0e26 100644 (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);
index 5d92957113ea09061a73248d0c6b3f7141a6b255..3e5ff7dd58463d890b54c873890680243f00378b 100644 (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;
 }
-                                 
+