aboutsummaryrefslogtreecommitdiff
path: root/slirp/main.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2009-06-24 14:42:31 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-29 08:52:49 -0500
commitad0d8c4c326c87ee3f193f90f31ec4af0fce5598 (patch)
tree8cf29f6a524c52cdf7cc1b482060ade9e4a485e7 /slirp/main.h
parent9f8bd0421dc03b2640ac2d0a4d702354a218b2ab (diff)
slirp: Allocate/free stack instance dynamically
Allocate the internal slirp state dynamically and provide and call slirp_cleanup to properly release it after use. This patch finally unbreaks slirp release and re-instantiation via host_net_* monitor commands. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'slirp/main.h')
-rw-r--r--slirp/main.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/slirp/main.h b/slirp/main.h
index 90deb58b27..28d92d8866 100644
--- a/slirp/main.h
+++ b/slirp/main.h
@@ -11,7 +11,6 @@
#define TOWRITEMAX 512
-extern int link_up;
extern int slirp_socket;
extern int slirp_socket_unit;
extern int slirp_socket_port;