aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-03-23 19:57:16 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2022-04-06 10:50:37 +0200
commit3f6c2e8b79504e20bec8628f0f1accf3bc6d85b6 (patch)
tree42121b5df6b2d63eaa12b9259c6d39ee1e0e62f0 /include
parent9d587100ff115c05da188e524d70a6a782a5d80c (diff)
downloadqemu-3f6c2e8b79504e20bec8628f0f1accf3bc6d85b6.zip
qemu-3f6c2e8b79504e20bec8628f0f1accf3bc6d85b6.tar.gz
qemu-3f6c2e8b79504e20bec8628f0f1accf3bc6d85b6.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/qemu-common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/qemu-common.h b/include/qemu-common.h
index f0fe07c..f9b3f85 100644
--- a/include/qemu-common.h
+++ b/include/qemu-common.h
@@ -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);