path: root/slirp/misc.h
diff options
authorJan Kiszka <jan.kiszka@siemens.com>2009-06-24 14:42:30 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-29 08:52:47 -0500
commitdf46189412567906312684eb72ba87c6a86a4cdb (patch)
treedc1b8f320294afc70b2984e47ebb5b64f5f22baf /slirp/misc.h
parent9367964ae21d2a41517c76c87dd26c79abcfe937 (diff)
slirp: Factor out one-time initialization
In order to prepare re-initialization and multi-instance slirp, factor out init code that is of global scope and (at least for now) only need to be run once. This also fixes the potentially uninitialized use of our_addr in get_dns_addr. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'slirp/misc.h')
1 files changed, 0 insertions, 1 deletions
diff --git a/slirp/misc.h b/slirp/misc.h
index 82dd5965c3..c21f69b068 100644
--- a/slirp/misc.h
+++ b/slirp/misc.h
@@ -63,7 +63,6 @@ extern int x_port, x_server, x_display;
int show_x _P((char *, struct socket *));
void redir_x _P((u_int32_t, int, int, int));
-void getouraddr _P((void));
void slirp_insque _P((void *, void *));
void slirp_remque _P((void *));
int add_exec _P((struct ex_list **, int, char *, struct in_addr, int));