diff options
author | Denis Vlasenko | 2008-07-05 09:18:54 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-07-05 09:18:54 +0000 |
commit | a60f84ebf07863e390b72a2b6150e461a1ec18e9 (patch) | |
tree | f59bc665cfe3d2d32622450d80523e3c1265e501 /networking/slattach.c | |
parent | f6efccc0659a2e2978f2021153f34ce92257ad2b (diff) | |
download | busybox-a60f84ebf07863e390b72a2b6150e461a1ec18e9.zip busybox-a60f84ebf07863e390b72a2b6150e461a1ec18e9.tar.gz |
*: rename ATTRIBUTE_XXX to just XXX.
Diffstat (limited to 'networking/slattach.c')
-rw-r--r-- | networking/slattach.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/slattach.c b/networking/slattach.c index 02ecb5e..52f7f3c 100644 --- a/networking/slattach.c +++ b/networking/slattach.c @@ -64,7 +64,7 @@ static int set_termios_state_or_warn(struct termios *state) * Go on after errors: we want to restore as many controlled ttys * as possible. */ -static void restore_state_and_exit(int exitcode) ATTRIBUTE_NORETURN; +static void restore_state_and_exit(int exitcode) NORETURN; static void restore_state_and_exit(int exitcode) { struct termios state; @@ -114,13 +114,13 @@ static void set_state(struct termios *state, int encap) } } -static void sig_handler(int signo ATTRIBUTE_UNUSED) +static void sig_handler(int signo UNUSED_PARAM) { restore_state_and_exit(EXIT_SUCCESS); } int slattach_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; -int slattach_main(int argc ATTRIBUTE_UNUSED, char **argv) +int slattach_main(int argc UNUSED_PARAM, char **argv) { /* Line discipline code table */ static const char proto_names[] ALIGN1 = |