ANSIfy sys/x86

This commit is contained in:
Ed Maste 2018-03-17 01:40:09 +00:00
parent 48fc14c0aa
commit 4e78ff7068
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331082
2 changed files with 6 additions and 12 deletions

View File

@ -146,8 +146,7 @@ isa_dma_init(int chan, u_int bouncebufsize, int flag)
* in open() or during its initialization.
*/
int
isa_dma_acquire(chan)
int chan;
isa_dma_acquire(int chan)
{
#ifdef DIAGNOSTIC
if (chan & ~VALID_DMA_MASK)
@ -172,8 +171,7 @@ isa_dma_acquire(chan)
* during close() or during its shutdown.
*/
void
isa_dma_release(chan)
int chan;
isa_dma_release(int chan)
{
#ifdef DIAGNOSTIC
if (chan & ~VALID_DMA_MASK)
@ -207,8 +205,7 @@ isa_dma_release(chan)
* external dma control by a board.
*/
void
isa_dmacascade(chan)
int chan;
isa_dmacascade(int chan)
{
#ifdef DIAGNOSTIC
if (chan & ~VALID_DMA_MASK)

View File

@ -87,8 +87,7 @@ SYSINIT(configure3, SI_SUB_CONFIGURE, SI_ORDER_ANY, configure_final, NULL);
* Determine i/o configuration for a machine.
*/
static void
configure_first(dummy)
void *dummy;
configure_first(void *dummy)
{
/* nexus0 is the top of the x86 device tree */
@ -96,8 +95,7 @@ configure_first(dummy)
}
static void
configure(dummy)
void *dummy;
configure(void *dummy)
{
/* initialize new bus architecture */
@ -114,8 +112,7 @@ configure(dummy)
}
static void
configure_final(dummy)
void *dummy;
configure_final(void *dummy)
{
cninit_finish();