Minor changes (inline -> __inline))

This commit is contained in:
mark 1997-01-06 04:47:53 +00:00
parent ecf9b458f4
commit fd643704d1
12 changed files with 33 additions and 33 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: clock.c,v 1.10 1996/10/15 21:35:23 mark Exp $ */
/* $NetBSD: clock.c,v 1.11 1997/01/06 04:47:53 mark Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@ -259,7 +259,7 @@ need_proftick(p)
}
static inline int
static __inline int
yeartoday(year)
int year;
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.16 1997/01/01 23:40:13 pk Exp $ */
/* $NetBSD: machdep.c,v 1.17 1997/01/06 04:47:54 mark Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@ -514,7 +514,7 @@ delay(n)
* during the bootstrap process.
*/
/*inline*/ void
/*__inline*/ void
map_section(pagetable, va, pa)
vm_offset_t pagetable;
vm_offset_t va;
@ -527,7 +527,7 @@ map_section(pagetable, va, pa)
}
/*inline*/ void
/*__inline*/ void
map_pagetable(pagetable, va, pa)
vm_offset_t pagetable;
vm_offset_t va;
@ -542,7 +542,7 @@ map_pagetable(pagetable, va, pa)
}
inline void
__inline void
map_entry(pagetable, va, pa)
vm_offset_t pagetable;
vm_offset_t va;
@ -553,7 +553,7 @@ map_entry(pagetable, va, pa)
}
inline void
__inline void
map_entry_nc(pagetable, va, pa)
vm_offset_t pagetable;
vm_offset_t va;
@ -564,7 +564,7 @@ map_entry_nc(pagetable, va, pa)
}
inline void
__inline void
map_entry_ro(pagetable, va, pa)
vm_offset_t pagetable;
vm_offset_t va;

View File

@ -1,4 +1,4 @@
/* $NetBSD: process_machdep.c,v 1.4 1996/10/16 19:32:26 ws Exp $ */
/* $NetBSD: process_machdep.c,v 1.5 1997/01/06 04:47:55 mark Exp $ */
/*
* Copyright (c) 1995 Frank Lancaster. All rights reserved.
@ -77,7 +77,7 @@
#include <machine/reg.h>
static inline struct trapframe *
static __inline struct trapframe *
process_frame(p)
struct proc *p;
{
@ -86,7 +86,7 @@ process_frame(p)
}
#ifndef ARMFPE
static inline struct fpe_sp_state *
static __inline struct fpe_sp_state *
process_fpframe(p)
struct proc *p;
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: pms.c,v 1.8 1996/11/23 03:37:38 mark Exp $ */
/* $NetBSD: pms.c,v 1.9 1997/01/06 04:47:58 mark Exp $ */
/*-
* Copyright (c) 1996 D.C. Tsen
@ -115,7 +115,7 @@ struct cfdriver pms_cd = {
#define PMSUNIT(dev) (minor(dev))
static inline void
static __inline void
pms_flush()
{
int n = 1000;

View File

@ -1,4 +1,4 @@
/* $NetBSD: rtc.c,v 1.5 1996/10/15 19:28:01 mark Exp $ */
/* $NetBSD: rtc.c,v 1.6 1997/01/06 04:47:59 mark Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@ -131,14 +131,14 @@ cmos_write(location, value)
/* Hex to BCD and BCD to hex conversion routines */
static inline int
static __inline int
hexdectodec(n)
u_char n;
{
return(((n >> 4) & 0x0F) * 10 + (n & 0x0F));
}
static inline int
static __inline int
dectohexdec(n)
u_char n;
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: iomd_clock.c,v 1.10 1996/10/15 21:35:23 mark Exp $ */
/* $NetBSD: iomd_clock.c,v 1.11 1997/01/06 04:47:53 mark Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@ -259,7 +259,7 @@ need_proftick(p)
}
static inline int
static __inline int
yeartoday(year)
int year;
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: fd.c,v 1.16 1997/01/01 23:32:41 pk Exp $ */
/* $NetBSD: fd.c,v 1.17 1997/01/06 04:47:57 mark Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995 Charles Hannum.
@ -474,7 +474,7 @@ fd_nvtotype(fdc, nvraminfo, drive)
}
}
inline struct fd_type *
__inline struct fd_type *
fd_dev_to_type(fd, dev)
struct fd_softc *fd;
dev_t dev;

View File

@ -1,4 +1,4 @@
/* $NetBSD: pms.c,v 1.8 1996/11/23 03:37:38 mark Exp $ */
/* $NetBSD: pms.c,v 1.9 1997/01/06 04:47:58 mark Exp $ */
/*-
* Copyright (c) 1996 D.C. Tsen
@ -115,7 +115,7 @@ struct cfdriver pms_cd = {
#define PMSUNIT(dev) (minor(dev))
static inline void
static __inline void
pms_flush()
{
int n = 1000;

View File

@ -1,4 +1,4 @@
/* $NetBSD: rtc.c,v 1.5 1996/10/15 19:28:01 mark Exp $ */
/* $NetBSD: rtc.c,v 1.6 1997/01/06 04:47:59 mark Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@ -131,14 +131,14 @@ cmos_write(location, value)
/* Hex to BCD and BCD to hex conversion routines */
static inline int
static __inline int
hexdectodec(n)
u_char n;
{
return(((n >> 4) & 0x0F) * 10 + (n & 0x0F));
}
static inline int
static __inline int
dectohexdec(n)
u_char n;
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: ascreg.h,v 1.4 1996/03/07 23:54:29 mark Exp $ */
/* $NetBSD: ascreg.h,v 1.5 1997/01/06 04:48:02 mark Exp $ */
/*
* Copyright (c) 1996 Mark Brinicombe
@ -260,7 +260,7 @@ temphi = dmac + 0x0218;/* RO T15 T14 T13 T12 T11 T10 T9 T8 */
ReadSBIC1(sbic_base, a)
static inline int
static __inline int
ReadSBIC1(sbic_base, a)
u_int sbic_base;
int a;

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_eh.c,v 1.13 1996/10/30 01:50:01 mark Exp $ */
/* $NetBSD: if_eh.c,v 1.14 1997/01/06 04:48:00 mark Exp $ */
/*
* Copyright (c) 1995 Melvin Tang-Richardson.
@ -692,7 +692,7 @@ eh_transmit_command(sc)
/* We musn't fail */
inline void
__inline void
eh_ensure_dma_ok(sc)
struct eh_softc *sc;
{
@ -713,7 +713,7 @@ eh_ensure_dma_ok(sc)
SetReg(EH_COMMAND, 0x22);
}
inline int
__inline int
eh_ensure_dma_completed(sc, type)
struct eh_softc *sc;
int type;

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ie.c,v 1.11 1996/10/14 23:42:17 mark Exp $ */
/* $NetBSD: if_ie.c,v 1.12 1997/01/06 04:48:01 mark Exp $ */
/*
* Copyright (c) 1995 Melvin Tang-Richardson.
@ -1074,7 +1074,7 @@ command_and_wait(sc, cmd, pscb, pcmd, ocmd, scmd, mask)
PWriteShort(sc->sc_ram + IE_COFF2POFF(ptr) + \
(offsetof(type, member)), dest );
static inline int
static __inline int
ie_buflen(sc, head)
struct ie_softc *sc;
int head;
@ -1087,7 +1087,7 @@ ie_buflen(sc, head)
return(actual & (IE_RXBUF_SIZE | (IE_RXBUF_SIZE-1))) ;
}
static inline int
static __inline int
ie_packet_len(sc)
struct ie_softc *sc;
{