summaryrefslogtreecommitdiffstats
path: root/bin/stty/stty.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/stty/stty.c')
-rw-r--r--bin/stty/stty.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/stty/stty.c b/bin/stty/stty.c
index 7a83c4f..d794544 100644
--- a/bin/stty/stty.c
+++ b/bin/stty/stty.c
@@ -59,6 +59,8 @@ static const char rcsid[] =
#include "stty.h"
#include "extern.h"
+int main __P((int, char *[]));
+
int
main(argc, argv)
int argc;
@@ -131,7 +133,7 @@ args: argc -= optind;
continue;
if (isdigit(**argv)) {
- int speed;
+ speed_t speed;
speed = atoi(*argv);
cfsetospeed(&i.t, speed);
OpenPOWER on IntegriCloud