aboutsummaryrefslogtreecommitdiff
path: root/coreutils/stty.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-19 01:27:20 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-19 01:27:20 +0000
commitc7cc5a9432d2224d4e0fe3cf8ae72abb7ef25e2c (patch)
tree103a6d3e66fd142e0f2b8d57a8156b87a6f590c9 /coreutils/stty.c
parent885b6f29ae2740399231427dc2c6efe47db9a80d (diff)
downloadbusybox-w32-c7cc5a9432d2224d4e0fe3cf8ae72abb7ef25e2c.tar.gz
busybox-w32-c7cc5a9432d2224d4e0fe3cf8ae72abb7ef25e2c.tar.bz2
busybox-w32-c7cc5a9432d2224d4e0fe3cf8ae72abb7ef25e2c.zip
mdev: Rob's #if forest removal
*: remove superfluous conts in "f(type *const param)"
Diffstat (limited to 'coreutils/stty.c')
-rw-r--r--coreutils/stty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/stty.c b/coreutils/stty.c
index 3605e3c29..e02fe7c72 100644
--- a/coreutils/stty.c
+++ b/coreutils/stty.c
@@ -677,8 +677,8 @@ static tcflag_t *mode_type_flag(unsigned type, const struct termios *mode)
677 return NULL; 677 return NULL;
678} 678}
679 679
680static void set_speed_or_die(enum speed_setting type, const char *const arg, 680static void set_speed_or_die(enum speed_setting type, const char *arg,
681 struct termios * const mode) 681 struct termios *mode)
682{ 682{
683 speed_t baud; 683 speed_t baud;
684 684
@@ -801,7 +801,7 @@ enum {
801 param_ospeed = 8 | 0x80, 801 param_ospeed = 8 | 0x80,
802}; 802};
803 803
804static int find_param(const char *const name) 804static int find_param(const char *name)
805{ 805{
806 static const char params[] ALIGN1 = 806 static const char params[] ALIGN1 =
807 "line\0" /* 1 */ 807 "line\0" /* 1 */