From 3f6c2e8b79504e20bec8628f0f1accf3bc6d85b6 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Wed, 23 Mar 2022 19:57:16 +0400 Subject: 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 Message-Id: <20220323155743.1585078-6-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini --- include/qemu-common.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/qemu-common.h b/include/qemu-common.h index f0fe07cd74..f9b3f85b81 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); -- cgit v1.2.3-55-g7522