mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Really finish supporting compiling with `gcc -ansi'.
This commit is contained in:
parent
5c570787fc
commit
ab36c3d3e7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35242
@ -23,7 +23,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: kern_intr.c,v 1.12 1997/10/06 04:27:32 nate Exp $
|
||||
* $Id: kern_intr.c,v 1.13 1998/02/10 17:10:23 eivind Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -61,7 +61,7 @@ typedef struct intrec {
|
||||
#ifndef SMP
|
||||
#include <machine/ipl.h>
|
||||
|
||||
static inline intrmask_t
|
||||
static __inline intrmask_t
|
||||
splq(intrmask_t mask)
|
||||
{
|
||||
intrmask_t tmp = cpl;
|
||||
|
@ -38,7 +38,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)kern_lock.c 8.18 (Berkeley) 5/21/95
|
||||
* $Id: kern_lock.c,v 1.17 1998/02/11 00:05:26 eivind Exp $
|
||||
* $Id: kern_lock.c,v 1.18 1998/03/07 19:25:34 dyson Exp $
|
||||
*/
|
||||
|
||||
#include "opt_lint.h"
|
||||
@ -65,7 +65,7 @@
|
||||
#if defined(DIAGNOSTIC)
|
||||
#define LOCK_INLINE
|
||||
#else
|
||||
#define LOCK_INLINE inline
|
||||
#define LOCK_INLINE __inline
|
||||
#endif
|
||||
|
||||
#define LK_ALL (LK_HAVE_EXCL | LK_WANT_EXCL | LK_WANT_UPGRADE | \
|
||||
|
Loading…
Reference in New Issue
Block a user