From 46eb2dfce9a90d977f8e60a3d0bf925ca13338cd Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Wed, 23 Jul 2003 18:03:22 +0000 Subject: [PATCH] Undo single-intance inlining which is way above the comfort limit for GCC. --- sys/dev/rp/rp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c index 6927314d997b..7be178b04885 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;