summaryrefslogtreecommitdiffstats
path: root/sys/dev/rp
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-07-23 18:03:22 +0000
committerphk <phk@FreeBSD.org>2003-07-23 18:03:22 +0000
commit5116362d0f6aa837d6c352524103bd0f10a379d3 (patch)
treeb17e4a2549763c4492e8a4c3393ba42211c2ec2c /sys/dev/rp
parentd334468bbe5652d8736c84f094bc565c0431e851 (diff)
downloadFreeBSD-src-5116362d0f6aa837d6c352524103bd0f10a379d3.zip
FreeBSD-src-5116362d0f6aa837d6c352524103bd0f10a379d3.tar.gz
Undo single-intance inlining which is way above the comfort limit for GCC.
Diffstat (limited to 'sys/dev/rp')
-rw-r--r--sys/dev/rp/rp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c
index 6927314..7be178b 100644
--- a/sys/dev/rp/rp.c
+++ b/sys/dev/rp/rp.c
@@ -588,7 +588,6 @@ static int minor_to_unit[128];
static int rp_num_ports[4]; /* Number of ports on each controller */
-#define _INLINE_ __inline
#define POLL_INTERVAL 1
#define CALLOUT_MASK 0x80
@@ -620,7 +619,7 @@ static void rpstop(struct tty *, int);
static void rphardclose (struct rp_port *);
static void rp_disc_optim (struct tty *tp, struct termios *t);
-static _INLINE_ void rp_do_receive(struct rp_port *rp, struct tty *tp,
+static void rp_do_receive(struct rp_port *rp, struct tty *tp,
CHANNEL_t *cp, unsigned int ChanStatus)
{
int spl;
@@ -712,7 +711,7 @@ static _INLINE_ void rp_do_receive(struct rp_port *rp, struct tty *tp,
}
}
-static _INLINE_ void rp_handle_port(struct rp_port *rp)
+static void rp_handle_port(struct rp_port *rp)
{
CHANNEL_t *cp;
struct tty *tp;
OpenPOWER on IntegriCloud