console: lxc_terminal_info_init()

parent 96eee564
......@@ -1128,7 +1128,7 @@ int lxc_login_pty(int fd)
return 0;
}
void lxc_pty_info_init(struct lxc_pty_info *pty)
void lxc_terminal_info_init(struct lxc_pty_info *pty)
{
pty->name[0] = '\0';
pty->master = -EBADF;
......@@ -1143,7 +1143,7 @@ void lxc_pty_init(struct lxc_pty *pty)
pty->master = -EBADF;
pty->peer = -EBADF;
pty->log_fd = -EBADF;
lxc_pty_info_init(&pty->peerpty);
lxc_terminal_info_init(&pty->peerpty);
}
void lxc_pty_conf_free(struct lxc_pty *terminal)
......
......@@ -235,7 +235,7 @@ extern int lxc_terminal_io_cb(int fd, uint32_t events, void *data,
extern int lxc_make_controlling_pty(int fd);
extern int lxc_login_pty(int fd);
extern void lxc_pty_conf_free(struct lxc_pty *console);
extern void lxc_pty_info_init(struct lxc_pty_info *pty);
extern void lxc_terminal_info_init(struct lxc_pty_info *pty);
extern void lxc_pty_init(struct lxc_pty *pty);
extern int lxc_pty_map_ids(struct lxc_conf *c, struct lxc_pty *pty);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment