diff options
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 59199ded4..708408954 100644 --- a/shell/lash_unused.c +++ b/shell/lash_unused.c | |||
@@ -119,7 +119,7 @@ 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) NORETURN; |
123 | static int busy_loop(FILE *input); | 123 | static int busy_loop(FILE *input); |
124 | 124 | ||
125 | 125 | ||
@@ -177,7 +177,7 @@ static inline void debug_printf(const char *format, ...) | |||
177 | va_end(args); | 177 | va_end(args); |
178 | } | 178 | } |
179 | #else | 179 | #else |
180 | static inline void debug_printf(const char ATTRIBUTE_UNUSED *format, ...) { } | 180 | static inline void debug_printf(const char UNUSED_PARAM *format, ...) { } |
181 | #endif | 181 | #endif |
182 | 182 | ||
183 | /* | 183 | /* |
@@ -308,7 +308,7 @@ static int builtin_fg_bg(struct child_prog *child) | |||
308 | } | 308 | } |
309 | 309 | ||
310 | /* built-in 'help' handler */ | 310 | /* built-in 'help' handler */ |
311 | static int builtin_help(struct child_prog ATTRIBUTE_UNUSED *dummy) | 311 | static int builtin_help(struct child_prog UNUSED_PARAM *dummy) |
312 | { | 312 | { |
313 | const struct built_in_command *x; | 313 | const struct built_in_command *x; |
314 | 314 | ||
@@ -342,7 +342,7 @@ static int builtin_jobs(struct child_prog *child) | |||
342 | 342 | ||
343 | 343 | ||
344 | /* built-in 'pwd' handler */ | 344 | /* built-in 'pwd' handler */ |
345 | static int builtin_pwd(struct child_prog ATTRIBUTE_UNUSED *dummy) | 345 | static int builtin_pwd(struct child_prog UNUSED_PARAM *dummy) |
346 | { | 346 | { |
347 | update_cwd(); | 347 | update_cwd(); |
348 | puts(cwd); | 348 | puts(cwd); |