From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: qemu-devel@nongnu.org, peter.maydell@linaro.org
Cc: Thomas Huth <thuth@redhat.com>,
jan.kiszka@siemens.com,
Samuel Thibault <samuel.thibault@ens-lyon.org>
Subject: [Qemu-devel] [PULL 3/4] slirp: Remove some unused code from slirp.h
Date: Mon, 16 May 2016 21:25:19 +0200 [thread overview]
Message-ID: <1463426720-25008-4-git-send-email-samuel.thibault@ens-lyon.org> (raw)
In-Reply-To: <1463426720-25008-1-git-send-email-samuel.thibault@ens-lyon.org>
From: Thomas Huth <thuth@redhat.com>
These hunks are apparently not used anymore, so let's delete them.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
---
slirp/slirp.h | 22 ----------------------
1 file changed, 22 deletions(-)
diff --git a/slirp/slirp.h b/slirp/slirp.h
index 5b5df59..e373876 100644
--- a/slirp/slirp.h
+++ b/slirp/slirp.h
@@ -58,10 +58,6 @@ typedef char *caddr_t;
# include <sys/filio.h>
#endif
-#ifdef USE_PPP
-#include <ppp/slirppp.h>
-#endif
-
/* Avoid conflicting with the libc insque() and remque(), which
have different prototypes. */
#define insque slirp_insque
@@ -96,10 +92,6 @@ typedef char *caddr_t;
#include "if.h"
#include "main.h"
#include "misc.h"
-#ifdef USE_PPP
-#include "ppp/pppd.h"
-#include "ppp/ppp.h"
-#endif
#include "bootp.h"
#include "tftp.h"
@@ -237,18 +229,12 @@ extern Slirp *slirp_instance;
#define NULL (void *)0
#endif
-#ifndef FULL_BOLT
void if_start(Slirp *);
-#else
-void if_start(struct ttys *);
-#endif
#ifndef _WIN32
#include <netdb.h>
#endif
-#define DEFAULT_BAUD 115200
-
#define SO_OPTIONS DO_KEEPALIVE
#define TCP_MAXIDLE (TCPTV_KEEPCNT * TCPTV_KEEPINTVL)
@@ -306,14 +292,6 @@ int tcp_emu(struct socket *, struct mbuf *);
int tcp_ctl(struct socket *);
struct tcpcb *tcp_drop(struct tcpcb *tp, int err);
-#ifdef USE_PPP
-#define MIN_MRU MINMRU
-#define MAX_MRU MAXMRU
-#else
-#define MIN_MRU 128
-#define MAX_MRU 16384
-#endif
-
#ifndef _WIN32
#define min(x,y) ((x) < (y) ? (x) : (y))
#define max(x,y) ((x) > (y) ? (x) : (y))
--
2.8.1
next prev parent reply other threads:[~2016-05-16 19:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-16 19:25 [Qemu-devel] [PULL 0/4] slirp updates Samuel Thibault
2016-05-16 19:25 ` [Qemu-devel] [PULL 1/4] slirp: Clean up slirp_config.h Samuel Thibault
2016-05-16 19:25 ` [Qemu-devel] [PULL 2/4] slirp: Remove obsolete backward-compatibility cruft Samuel Thibault
2016-05-16 19:25 ` Samuel Thibault [this message]
2016-05-16 19:25 ` [Qemu-devel] [PULL 4/4] slirp: Clean up osdep.h related header inclusions Samuel Thibault
2016-05-17 9:35 ` [Qemu-devel] [PULL 0/4] slirp updates Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1463426720-25008-4-git-send-email-samuel.thibault@ens-lyon.org \
--to=samuel.thibault@ens-lyon.org \
--cc=jan.kiszka@siemens.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).