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-c7cc5a9432d2224d4e0fe3cf8ae72abb7ef25e2c.tar.gz
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)
return NULL;
}
-static void set_speed_or_die(enum speed_setting type, const char *const arg,
- struct termios * const mode)
+static void set_speed_or_die(enum speed_setting type, const char *arg,
+ struct termios *mode)
{
speed_t baud;
@@ -801,7 +801,7 @@ enum {
param_ospeed = 8 | 0x80,
};
-static int find_param(const char *const name)
+static int find_param(const char *name)
{
static const char params[] ALIGN1 =
"line\0" /* 1 */