]> git.sur5r.net Git - cc65/commitdiff
Use register to improve the code
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 30 Nov 2004 20:17:44 +0000 (20:17 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 30 Nov 2004 20:17:44 +0000 (20:17 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3319 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/common/strtok.c

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