diff options
Diffstat (limited to 'networking/slattach.c')
-rw-r--r-- | networking/slattach.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/slattach.c b/networking/slattach.c index 1987eb39c..3ffbb3ba8 100644 --- a/networking/slattach.c +++ b/networking/slattach.c | |||
@@ -114,13 +114,13 @@ static void set_state(struct termios *state, int encap) | |||
114 | } | 114 | } |
115 | } | 115 | } |
116 | 116 | ||
117 | static void sig_handler(int signo) | 117 | static void sig_handler(int signo ATTRIBUTE_UNUSED) |
118 | { | 118 | { |
119 | restore_state_and_exit(0); | 119 | restore_state_and_exit(0); |
120 | } | 120 | } |
121 | 121 | ||
122 | int slattach_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 122 | int slattach_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
123 | int slattach_main(int argc, char **argv) | 123 | int slattach_main(int argc ATTRIBUTE_UNUSED, char **argv) |
124 | { | 124 | { |
125 | /* Line discipline code table */ | 125 | /* Line discipline code table */ |
126 | static const char proto_names[] ALIGN1 = | 126 | static const char proto_names[] ALIGN1 = |