mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 06:43:53 -06:00
char: move qemu_openpty_raw from util/ to char/
It is only needed by char-pty. Fix the code style while at it. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20220323155743.1585078-6-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
9d587100ff
commit
3f6c2e8b79
5 changed files with 113 additions and 144 deletions
|
@ -31,8 +31,6 @@ ssize_t qemu_write_full(int fd, const void *buf, size_t count)
|
|||
|
||||
#ifndef _WIN32
|
||||
int qemu_pipe(int pipefd[2]);
|
||||
/* like openpty() but also makes it raw; return master fd */
|
||||
int qemu_openpty_raw(int *aslave, char *pty_name);
|
||||
#endif
|
||||
|
||||
void cpu_exec_init_all(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue