aboutsummaryrefslogtreecommitdiff
path: root/slirp/slirp.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2009-06-24 14:42:29 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-29 08:52:46 -0500
commit0d62c4cfe21752df4c1d6e2c2398f15d5eaa794a (patch)
tree17797b80174a0d19f756ca3255b709d3b191cf7a /slirp/slirp.h
parent6dbe553fe9ffdee008c1bbbe1af2d030e0f04aab (diff)
slirp: Drop dead code
After all its years inside the qemu tree, there is no point in keeping the dead code paths of slirp. This patch is a first round of removing usually commented out code parts. More cleanups need to follow (and maybe finally a proper reindention). Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'slirp/slirp.h')
-rw-r--r--slirp/slirp.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/slirp/slirp.h b/slirp/slirp.h
index 101d0943b7..0c62fd784b 100644
--- a/slirp/slirp.h
+++ b/slirp/slirp.h
@@ -1,8 +1,6 @@
#ifndef __COMMON_H__
#define __COMMON_H__
-#define CONFIG_QEMU
-
//#define DEBUG 1
// Uncomment the following line to enable SLIRP statistics printing in Qemu
@@ -14,9 +12,6 @@
#define STAT(expr) do { } while(0)
#endif
-#ifndef CONFIG_QEMU
-#include "version.h"
-#endif
#include "config-host.h"
#include "slirp_config.h"
@@ -223,8 +218,6 @@ int inet_aton _P((const char *cp, struct in_addr *ia));
#include "tftp.h"
#include "libslirp.h"
-extern struct ttys *ttys_unit[MAX_INTERFACES];
-
#ifndef NULL
#define NULL (void *)0
#endif