Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2001 00:14:52 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Peter Wemm <peter@FreeBSD.org>
Cc:        <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/dev/fxp if_fxp.c
Message-ID:  <20011221001216.Q673-100000@gamplex.bde.org>
In-Reply-To: <200112190817.fBJ8HPB86284@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 19 Dec 2001, Peter Wemm wrote:

> peter       2001/12/19 00:17:25 PST
>
>   Modified files:        (Branch: RELENG_4)
>     sys/dev/fxp          if_fxp.c
>   Log:
>   You cannot declare a function __inline *after* you have called it!
>   ../../dev/fxp/if_fxp.c: In function `fxp_intr':
>   ../../dev/fxp/if_fxp.c:174: warning: can't inline call to `fxp_intr_body'
>   ../../dev/fxp/if_fxp.c:1183: warning: called from here
>   This is a left-over DEVICE_POLLING change.

Actually, you can call it (if it is has a suitable explicit or implicit
declaration), but it won't be inlined.  This is usually a mistake, so
we compile with -Winline to produce the above warning.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011221001216.Q673-100000>