mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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>
This commit is contained in:
parent
6dbe553fe9
commit
0d62c4cfe2
26 changed files with 22 additions and 1650 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue