*: 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:
Denis Vlasenko
2008-06-27 02:52:20 +00:00
parent 26bc57d8b2
commit defc1ea340
176 changed files with 844 additions and 838 deletions

View File

@ -116,11 +116,11 @@ static int builtin_read(struct child_prog *cmd);
/* function prototypes for shell stuff */
static void checkjobs(struct jobset *job_list);
static void remove_job(struct jobset *j_list, struct job *job);
static int get_command_bufsiz(FILE * source, char *command);
static int get_command_bufsiz(FILE *source, char *command);
static int parse_command(char **command_ptr, struct job *job, int *inbg);
static int run_command(struct job *newjob, int inbg, int outpipe[2]);
static int pseudo_exec(struct child_prog *cmd) ATTRIBUTE_NORETURN;
static int busy_loop(FILE * input);
static int busy_loop(FILE *input);
/* Table of built-in functions (these are non-forking builtins, meaning they
@ -643,7 +643,7 @@ static inline const char* setup_prompt_string(void)
static line_input_t *line_input_state;
#endif
static int get_command_bufsiz(FILE * source, char *command)
static int get_command_bufsiz(FILE *source, char *command)
{
const char *prompt_str;
@ -1326,7 +1326,7 @@ static int run_command(struct job *newjob, int inbg, int outpipe[2])
return 0;
}
static int busy_loop(FILE * input)
static int busy_loop(FILE *input)
{
char *command;
char *next_command = NULL;