*: introduce and use FAST_FUNC: regparm on i386, otherwise no-on
text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "libbb.h"
|
||||
|
||||
char *skip_whitespace(const char *s)
|
||||
char* FAST_FUNC skip_whitespace(const char *s)
|
||||
{
|
||||
/* NB: isspace('\0') returns 0 */
|
||||
while (isspace(*s)) ++s;
|
||||
@@ -17,7 +17,7 @@ char *skip_whitespace(const char *s)
|
||||
return (char *) s;
|
||||
}
|
||||
|
||||
char *skip_non_whitespace(const char *s)
|
||||
char* FAST_FUNC skip_non_whitespace(const char *s)
|
||||
{
|
||||
while (*s && !isspace(*s)) ++s;
|
||||
|
||||
|
Reference in New Issue
Block a user