From a60f84ebf07863e390b72a2b6150e461a1ec18e9 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 5 Jul 2008 09:18:54 +0000 Subject: *: rename ATTRIBUTE_XXX to just XXX. --- shell/lash_unused.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'shell/lash_unused.c') 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); 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 pseudo_exec(struct child_prog *cmd) NORETURN; static int busy_loop(FILE *input); @@ -177,7 +177,7 @@ static inline void debug_printf(const char *format, ...) va_end(args); } #else -static inline void debug_printf(const char ATTRIBUTE_UNUSED *format, ...) { } +static inline void debug_printf(const char UNUSED_PARAM *format, ...) { } #endif /* @@ -308,7 +308,7 @@ static int builtin_fg_bg(struct child_prog *child) } /* built-in 'help' handler */ -static int builtin_help(struct child_prog ATTRIBUTE_UNUSED *dummy) +static int builtin_help(struct child_prog UNUSED_PARAM *dummy) { const struct built_in_command *x; @@ -342,7 +342,7 @@ static int builtin_jobs(struct child_prog *child) /* built-in 'pwd' handler */ -static int builtin_pwd(struct child_prog ATTRIBUTE_UNUSED *dummy) +static int builtin_pwd(struct child_prog UNUSED_PARAM *dummy) { update_cwd(); puts(cwd); -- cgit v1.2.3