From 548fb0da730072d8c96b40ce29b024dd16cbab92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Wed, 20 Apr 2022 17:26:14 +0400 Subject: qga: move qga_get_host_name() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The function is specific to qemu-ga, no need to share it in QEMU. Signed-off-by: Marc-André Lureau Reviewed-by: Daniel P. Berrangé Reviewed-by: Konstantin Kostiuk Message-Id: <20220420132624.2439741-32-marcandre.lureau@redhat.com> --- include/qemu/osdep.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'include/qemu') diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index a87f1b7..4bf2883 100644 --- a/include/qemu/osdep.h +++ b/include/qemu/osdep.h @@ -657,16 +657,6 @@ int qemu_fdatasync(int fd); int qemu_msync(void *addr, size_t length, int fd); /** - * qemu_get_host_name: - * @errp: Error object - * - * Operating system agnostic way of querying host name. - * - * Returns allocated hostname (caller should free), NULL on failure. - */ -char *qemu_get_host_name(Error **errp); - -/** * qemu_get_host_physmem: * * Operating system agnostic way of querying host memory. -- cgit v1.1