From c79adb04654bba3e505e5332b90b7ca2c639b044 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 19 Sep 2026 23:08:48 -0600 Subject: [PATCH] bsd-user: Remove host-os.h host-os.h was used to just set the default bsd flavor, but it's no longer used. Retire it. Reviewed-by: Richard Henderson Signed-off-by: Warner Losh --- bsd-user/freebsd/host-os.h | 25 ------------------------- bsd-user/main.c | 2 -- 2 files changed, 27 deletions(-) delete mode 100644 bsd-user/freebsd/host-os.h diff --git a/bsd-user/freebsd/host-os.h b/bsd-user/freebsd/host-os.h deleted file mode 100644 index 40cae72ec9..0000000000 --- a/bsd-user/freebsd/host-os.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * FreeBSD host dependent code and definitions - * - * Copyright (c) 2013 Stacey D. Son - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, see . - */ - -#ifndef HOST_OS_H -#define HOST_OS_H - -#define HOST_DEFAULT_BSD_TYPE target_freebsd - -#endif /* HOST_OS_H */ diff --git a/bsd-user/main.c b/bsd-user/main.c index 13cd752b99..29ee59de2c 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -52,10 +52,8 @@ #include "exec/page-vary.h" #include "exec/watchpoint.h" -#include "host-os.h" #include "target_arch_cpu.h" - /* * TODO: Remove these and rely only on qemu_real_host_page_size(). */