diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-27 02:52:20 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-27 02:52:20 +0000 |
commit | defc1ea34074e7882724c460260d307cdf981a70 (patch) | |
tree | fca9b9a5fe243f9c0c76b84824ea2ff92ea8e589 /shell/lash_unused.c | |
parent | 26bc57d8b26425f23f4be974cce7bf35c95c9a1a (diff) | |
download | busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.tar.gz busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.tar.bz2 busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.zip |
*: 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
Diffstat (limited to 'shell/lash_unused.c')
-rw-r--r-- | shell/lash_unused.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/lash_unused.c b/shell/lash_unused.c index d57f584b2..59199ded4 100644 --- a/shell/lash_unused.c +++ b/shell/lash_unused.c | |||
@@ -116,11 +116,11 @@ static int builtin_read(struct child_prog *cmd); | |||
116 | /* function prototypes for shell stuff */ | 116 | /* function prototypes for shell stuff */ |
117 | static void checkjobs(struct jobset *job_list); | 117 | static void checkjobs(struct jobset *job_list); |
118 | static void remove_job(struct jobset *j_list, struct job *job); | 118 | static void remove_job(struct jobset *j_list, struct job *job); |
119 | static int get_command_bufsiz(FILE * source, char *command); | 119 | static int get_command_bufsiz(FILE *source, char *command); |
120 | static int parse_command(char **command_ptr, struct job *job, int *inbg); | 120 | static int parse_command(char **command_ptr, struct job *job, int *inbg); |
121 | static int run_command(struct job *newjob, int inbg, int outpipe[2]); | 121 | static int run_command(struct job *newjob, int inbg, int outpipe[2]); |
122 | static int pseudo_exec(struct child_prog *cmd) ATTRIBUTE_NORETURN; | 122 | static int pseudo_exec(struct child_prog *cmd) ATTRIBUTE_NORETURN; |
123 | static int busy_loop(FILE * input); | 123 | static int busy_loop(FILE *input); |
124 | 124 | ||
125 | 125 | ||
126 | /* Table of built-in functions (these are non-forking builtins, meaning they | 126 | /* Table of built-in functions (these are non-forking builtins, meaning they |
@@ -643,7 +643,7 @@ static inline const char* setup_prompt_string(void) | |||
643 | static line_input_t *line_input_state; | 643 | static line_input_t *line_input_state; |
644 | #endif | 644 | #endif |
645 | 645 | ||
646 | static int get_command_bufsiz(FILE * source, char *command) | 646 | static int get_command_bufsiz(FILE *source, char *command) |
647 | { | 647 | { |
648 | const char *prompt_str; | 648 | const char *prompt_str; |
649 | 649 | ||
@@ -1326,7 +1326,7 @@ static int run_command(struct job *newjob, int inbg, int outpipe[2]) | |||
1326 | return 0; | 1326 | return 0; |
1327 | } | 1327 | } |
1328 | 1328 | ||
1329 | static int busy_loop(FILE * input) | 1329 | static int busy_loop(FILE *input) |
1330 | { | 1330 | { |
1331 | char *command; | 1331 | char *command; |
1332 | char *next_command = NULL; | 1332 | char *next_command = NULL; |