diff options
Diffstat (limited to 'arch/um/include/line.h')
-rw-r--r-- | arch/um/include/line.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/um/include/line.h b/arch/um/include/line.h index b79643eeee08..a2486b4cc9fe 100644 --- a/arch/um/include/line.h +++ b/arch/um/include/line.h | |||
@@ -76,7 +76,7 @@ struct lines { | |||
76 | extern void line_close(struct tty_struct *tty, struct file * filp); | 76 | extern void line_close(struct tty_struct *tty, struct file * filp); |
77 | extern int line_open(struct line *lines, struct tty_struct *tty); | 77 | extern int line_open(struct line *lines, struct tty_struct *tty); |
78 | extern int line_setup(struct line *lines, unsigned int sizeof_lines, | 78 | extern int line_setup(struct line *lines, unsigned int sizeof_lines, |
79 | char *init); | 79 | char *init, char **error_out); |
80 | extern int line_write(struct tty_struct *tty, const unsigned char *buf, | 80 | extern int line_write(struct tty_struct *tty, const unsigned char *buf, |
81 | int len); | 81 | int len); |
82 | extern void line_put_char(struct tty_struct *tty, unsigned char ch); | 82 | extern void line_put_char(struct tty_struct *tty, unsigned char ch); |
@@ -102,9 +102,11 @@ extern void lines_init(struct line *lines, int nlines, struct chan_opts *opts); | |||
102 | extern void close_lines(struct line *lines, int nlines); | 102 | extern void close_lines(struct line *lines, int nlines); |
103 | 103 | ||
104 | extern int line_config(struct line *lines, unsigned int sizeof_lines, | 104 | extern int line_config(struct line *lines, unsigned int sizeof_lines, |
105 | char *str, const struct chan_opts *opts); | 105 | char *str, const struct chan_opts *opts, |
106 | char **error_out); | ||
106 | extern int line_id(char **str, int *start_out, int *end_out); | 107 | extern int line_id(char **str, int *start_out, int *end_out); |
107 | extern int line_remove(struct line *lines, unsigned int sizeof_lines, int n); | 108 | extern int line_remove(struct line *lines, unsigned int sizeof_lines, int n, |
109 | char **error_out); | ||
108 | extern int line_get_config(char *dev, struct line *lines, | 110 | extern int line_get_config(char *dev, struct line *lines, |
109 | unsigned int sizeof_lines, char *str, | 111 | unsigned int sizeof_lines, char *str, |
110 | int size, char **error_out); | 112 | int size, char **error_out); |