From: jsg Date: Sat, 18 May 2024 06:45:00 +0000 (+0000) Subject: remove prototypes with no matching function X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9a15c14554639c3b80e6f4708a089f4886789e6b;p=openbsd remove prototypes with no matching function --- diff --git a/usr.sbin/vmctl/main.c b/usr.sbin/vmctl/main.c index 2b951ea4f9f..395bc39efce 100644 --- a/usr.sbin/vmctl/main.c +++ b/usr.sbin/vmctl/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.77 2024/05/02 15:46:10 mlarkin Exp $ */ +/* $OpenBSD: main.c,v 1.78 2024/05/18 06:45:00 jsg Exp $ */ /* * Copyright (c) 2015 Reyk Floeter @@ -50,8 +50,6 @@ int stat_rflag; __dead void usage(void); __dead void ctl_usage(struct ctl_command *); -int vmm_action(struct parse_result *); - int ctl_console(struct parse_result *, int, char *[]); int ctl_convert(const char *, const char *, int, size_t); int ctl_create(struct parse_result *, int, char *[]); diff --git a/usr.sbin/vmctl/vmctl.h b/usr.sbin/vmctl/vmctl.h index 95691edc92e..94a05168ee8 100644 --- a/usr.sbin/vmctl/vmctl.h +++ b/usr.sbin/vmctl/vmctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmctl.h,v 1.37 2022/05/13 00:17:20 yasuoka Exp $ */ +/* $OpenBSD: vmctl.h,v 1.38 2024/05/18 06:45:00 jsg Exp $ */ /* * Copyright (c) 2015 Reyk Floeter @@ -91,8 +91,6 @@ __dead void int open_imagefile(int, const char *, int, struct virtio_backing *, off_t *); int create_imagefile(int, const char *, const char *, uint64_t, const char **); -int create_raw_imagefile(const char *, long); -int create_qc2_imagefile(const char *, const char *, long); int vm_start(uint32_t, const char *, size_t, int, char **, int, char **, int *, char *, char *, char *, unsigned int); int vm_start_complete(struct imsg *, int *, int); diff --git a/usr.sbin/vmd/i8259.h b/usr.sbin/vmd/i8259.h index f4b7598692c..47fae8bbc51 100644 --- a/usr.sbin/vmd/i8259.h +++ b/usr.sbin/vmd/i8259.h @@ -1,4 +1,4 @@ -/* $OpenBSD: i8259.h,v 1.5 2022/09/01 22:01:40 dv Exp $ */ +/* $OpenBSD: i8259.h,v 1.6 2024/05/18 06:45:00 jsg Exp $ */ /* * Copyright (c) 2016 Mike Larkin * @@ -60,9 +60,6 @@ void i8259_assert_irq(uint8_t); void i8259_deassert_irq(uint8_t); -/* PIC functions called by vcpu run loop code */ -int i8259_get_next_irq(uint8_t *); - /* PIC functions called by the in/out exit handler */ uint8_t vcpu_exit_i8259(struct vm_run_params *); diff --git a/usr.sbin/vmd/mc146818.h b/usr.sbin/vmd/mc146818.h index f6e3509aa60..f6a24156efd 100644 --- a/usr.sbin/vmd/mc146818.h +++ b/usr.sbin/vmd/mc146818.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mc146818.h,v 1.5 2017/07/09 00:51:40 pd Exp $ */ +/* $OpenBSD: mc146818.h,v 1.6 2024/05/18 06:45:00 jsg Exp $ */ /* * Copyright (c) 2016 Mike Larkin * @@ -17,7 +17,6 @@ void mc146818_init(uint32_t, uint64_t, uint64_t); uint8_t vcpu_exit_mc146818(struct vm_run_params *vrp); -void dump_mc146818(void); int mc146818_dump(int); int mc146818_restore(int, uint32_t); void mc146818_stop(void); diff --git a/usr.sbin/vmd/vmd.c b/usr.sbin/vmd/vmd.c index 665a6b431b4..4662f76bcab 100644 --- a/usr.sbin/vmd/vmd.c +++ b/usr.sbin/vmd/vmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmd.c,v 1.156 2024/04/08 12:48:26 tobhe Exp $ */ +/* $OpenBSD: vmd.c,v 1.157 2024/05/18 06:45:00 jsg Exp $ */ /* * Copyright (c) 2015 Reyk Floeter @@ -53,7 +53,6 @@ int main(int, char **); int vmd_configure(void); void vmd_sighdlr(int sig, short event, void *arg); void vmd_shutdown(void); -int vmd_control_run(void); int vmd_dispatch_control(int, struct privsep_proc *, struct imsg *); int vmd_dispatch_vmm(int, struct privsep_proc *, struct imsg *); int vmd_dispatch_agentx(int, struct privsep_proc *, struct imsg *);