aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-08-17 23:02:00 -0500
committerRob Landley <rob@landley.net>2018-08-17 23:02:00 -0500
commit17a2d5783ac38d1b79f37e2524d390ac7386dbf4 (patch)
tree1595c2a1c488c44241174fadd9ab55a756dc4053 /lib/lib.h
parent151e3f782333acbe349fdaac3ec843e42e95be3f (diff)
downloadtoybox-17a2d5783ac38d1b79f37e2524d390ac7386dbf4.tar.gz
Make microcom use set_terminal() and move speed setting into set_terminal().
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lib.h b/lib/lib.h
index 5cd5dc59..18eb0509 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -285,8 +285,8 @@ int tty_fd(void);
int terminal_size(unsigned *xx, unsigned *yy);
int terminal_probesize(unsigned *xx, unsigned *yy);
int scan_key_getsize(char *scratch, int miliwait, unsigned *xx, unsigned *yy);
-int set_terminal(int fd, int raw, struct termios *old);
-void xset_terminal(int fd, int raw, struct termios *old);
+int set_terminal(int fd, int raw, int speed, struct termios *old);
+void xset_terminal(int fd, int raw, int speed, struct termios *old);
int scan_key(char *scratch, int miliwait);
void tty_esc(char *s);
void tty_jump(int x, int y);