Skip to contentSkip to conversation

kvm-userspace: Cleanup redundant prototypes

PATCH Applied Jan Kiszka 2 participants 2 messages Dec 18, 2008 KVM

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 kvm-userspace: Cleanup redundant prototypes

---

 qemu/block.h       |    2 --
 qemu/console.h     |    2 --
 qemu/net.h         |    4 +---
 qemu/qemu_socket.h |    2 --
 qemu/sysemu.h      |    4 ----
 5 files changed, 1 insertions(+), 13 deletions(-)
qemu/block.h +0 -2
index c9419a7..c3314a1 100644
@@ -111,8 +111,6 @@ int bdrv_is_allocated(BlockDriverState *bs, int64_t sector_num, int nb_sectors,
 #define BIOS_ATA_TRANSLATION_LARGE  3
 #define BIOS_ATA_TRANSLATION_RECHS  4
 
-void bdrv_flush_all(void);
-
 void bdrv_set_geometry_hint(BlockDriverState *bs,
                             int cyls, int heads, int secs);
 void bdrv_set_type_hint(BlockDriverState *bs, int type);
qemu/console.h +0 -2
index 9d6c5e1..6ee40cc 100644
@@ -192,8 +192,6 @@ extern uint8_t _translate_keycode(const int key);
    does not need to include console.h  */
 /* monitor.c */
 void monitor_init(CharDriverState *hd, int show_banner);
-void monitor_suspend(void);
-void monitor_resume(void);
 void term_puts(const char *str);
 void term_vprintf(const char *fmt, va_list ap);
 void term_printf(const char *fmt, ...) __attribute__ ((__format__ (__printf__, 1, 2)));
qemu/net.h +1 -3
index a776604..ff11c91 100644
@@ -48,9 +48,6 @@ void do_info_network(void);
 int tap_has_vnet_hdr(void *opaque);
 void tap_using_vnet_hdr(void *opaque, int using_vnet_hdr);
 
-int net_client_init(const char *device, const char *opts);
-void net_client_uninit(NICInfo *nd);
-
 /* NIC info */
 
 #define MAX_NICS 8
@@ -89,6 +86,7 @@ void net_checksum_calculate(uint8_t *data, int length);
 
 /* from net.c */
 int net_client_init(const char *device, const char *p);
+void net_client_uninit(NICInfo *nd);
 int net_client_parse(const char *str);
 void net_slirp_smb(const char *exported_dir);
 void net_slirp_redir(const char *redir_str);
qemu/qemu_socket.h +0 -2
index a23d578..c8ca07e 100644
@@ -49,6 +49,4 @@ int parse_host_src_port(struct sockaddr_in *haddr,
                         struct sockaddr_in *saddr,
                         const char *str);
 
-int parse_host_port(struct sockaddr_in *saddr, const char *str);
-
 #endif /* QEMU_SOCKET_H */
qemu/sysemu.h +0 -4
index 5abda5c..fdbefd7 100644
@@ -51,10 +51,6 @@ void do_loadvm(const char *name);
 void do_delvm(const char *name);
 void do_info_snapshots(void);
 
-int check_params(char *buf, int buf_size, const char * const *params, const char *str);
-int get_param_value(char *buf, int buf_size, const char *tag,
-                    const char *str);
-
 void qemu_announce_self(void);
 
 void main_loop_wait(int timeout);
Applied
#1 lore raw

Jan Kiszka wrote:

Applied, thanks. I see you even checked to make sure you remove the ones that aren't in upstream.

Signature · 1 line
error compiling committee.c: too many arguments to function