summaryrefslogtreecommitdiff
path: root/sys/arch/atari/dev
diff options
context:
space:
mode:
authorcegger <cegger@NetBSD.org>2009-03-18 10:22:21 +0000
committercegger <cegger@NetBSD.org>2009-03-18 10:22:21 +0000
commitdf7f595ecd6efe54ea7c11083e2dbf711cad4b31 (patch)
tree2e70fb4fc9234da64b5c0d61f729656db3c80105 /sys/arch/atari/dev
parent61260da8850e8a6c3adc941d28160d30877a0c04 (diff)
Ansify function definitions w/o arguments. Generated with sed.
Diffstat (limited to 'sys/arch/atari/dev')
-rw-r--r--sys/arch/atari/dev/atari5380.c24
-rw-r--r--sys/arch/atari/dev/clock.c6
-rw-r--r--sys/arch/atari/dev/dma.c10
-rw-r--r--sys/arch/atari/dev/fd.c6
-rw-r--r--sys/arch/atari/dev/grfabs_et.c6
-rw-r--r--sys/arch/atari/dev/grfabs_fal.c6
-rw-r--r--sys/arch/atari/dev/ite_cc.c6
-rw-r--r--sys/arch/atari/dev/kbd.c10
-rw-r--r--sys/arch/atari/dev/ncr5380.c12
-rw-r--r--sys/arch/atari/dev/nvram.c6
-rw-r--r--sys/arch/atari/dev/view.c6
11 files changed, 49 insertions, 49 deletions
diff --git a/sys/arch/atari/dev/atari5380.c b/sys/arch/atari/dev/atari5380.c
index 3cc740c1e72..67eaed413e8 100644
--- a/sys/arch/atari/dev/atari5380.c
+++ b/sys/arch/atari/dev/atari5380.c
@@ -1,4 +1,4 @@
-/* $NetBSD: atari5380.c,v 1.50 2009/03/14 21:04:06 dsl Exp $ */
+/* $NetBSD: atari5380.c,v 1.51 2009/03/18 10:22:24 cegger Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atari5380.c,v 1.50 2009/03/14 21:04:06 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atari5380.c,v 1.51 2009/03/18 10:22:24 cegger Exp $");
#include "opt_atariscsi.h"
@@ -715,19 +715,19 @@ set_falcon_5380_reg(u_short rnum, u_short val)
}
extern inline void
-scsi_falcon_ienable()
+scsi_falcon_ienable(void)
{
single_inst_bset_b(MFP->mf_imrb, IB_DINT);
}
extern inline void
-scsi_falcon_idisable()
+scsi_falcon_idisable(void)
{
single_inst_bclr_b(MFP->mf_imrb, IB_DINT);
}
extern inline void
-scsi_falcon_clr_ipend()
+scsi_falcon_clr_ipend(void)
{
int tmp;
@@ -736,7 +736,7 @@ scsi_falcon_clr_ipend()
}
extern inline int
-scsi_falcon_ipending()
+scsi_falcon_ipending(void)
{
if (connected && (connected->dr_flag & DRIVER_IN_DMA)) {
/*
@@ -779,7 +779,7 @@ falcon_wrong_dma_range(SC_REQ *reqp, struct dma_chain *dm)
static int falcon_lock = 0;
extern inline int
-falcon_claimed_dma()
+falcon_claimed_dma(void)
{
if (falcon_lock != DMA_LOCK_GRANT) {
if (falcon_lock == DMA_LOCK_REQ) {
@@ -796,7 +796,7 @@ falcon_claimed_dma()
}
extern inline void
-falcon_reconsider_dma()
+falcon_reconsider_dma(void)
{
if (falcon_lock && (connected == NULL) && (discon_q == NULL)) {
/*
@@ -978,7 +978,7 @@ scsi_mach_init(struct ncr_softc *sc)
}
extern inline void
-scsi_ienable()
+scsi_ienable(void)
{
if (machineid & ATARI_FALCON)
scsi_falcon_ienable();
@@ -986,7 +986,7 @@ scsi_ienable()
}
extern inline void
-scsi_idisable()
+scsi_idisable(void)
{
if (machineid & ATARI_FALCON)
scsi_falcon_idisable();
@@ -994,7 +994,7 @@ scsi_idisable()
}
extern inline void
-scsi_clr_ipend()
+scsi_clr_ipend(void)
{
if (machineid & ATARI_FALCON)
scsi_falcon_clr_ipend();
@@ -1002,7 +1002,7 @@ scsi_clr_ipend()
}
extern inline int
-scsi_ipending()
+scsi_ipending(void)
{
if (machineid & ATARI_FALCON)
return(scsi_falcon_ipending());
diff --git a/sys/arch/atari/dev/clock.c b/sys/arch/atari/dev/clock.c
index b22072f25c1..015b667aac9 100644
--- a/sys/arch/atari/dev/clock.c
+++ b/sys/arch/atari/dev/clock.c
@@ -1,4 +1,4 @@
-/* $NetBSD: clock.c,v 1.45 2009/03/14 21:04:06 dsl Exp $ */
+/* $NetBSD: clock.c,v 1.46 2009/03/18 10:22:24 cegger Exp $ */
/*
* Copyright (c) 1982, 1990 The Regents of the University of California.
@@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.45 2009/03/14 21:04:06 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.46 2009/03/18 10:22:24 cegger Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -262,7 +262,7 @@ void *auxp;
}
-void cpu_initclocks()
+void cpu_initclocks(void)
{
MFP->mf_tacr = T_Q200; /* Start timer */
MFP->mf_ipra = (u_int8_t)~IA_TIMA;/* Clear pending interrupts */
diff --git a/sys/arch/atari/dev/dma.c b/sys/arch/atari/dev/dma.c
index 2c37ec40338..68a546c7b7e 100644
--- a/sys/arch/atari/dev/dma.c
+++ b/sys/arch/atari/dev/dma.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dma.c,v 1.21 2009/03/14 21:04:06 dsl Exp $ */
+/* $NetBSD: dma.c,v 1.22 2009/03/18 10:22:24 cegger Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman.
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dma.c,v 1.21 2009/03/14 21:04:06 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dma.c,v 1.22 2009/03/18 10:22:24 cegger Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -93,7 +93,7 @@ int cdmaint(void *, int);
static void st_dma_init(void);
static void
-st_dma_init()
+st_dma_init(void)
{
int i;
@@ -205,7 +205,7 @@ st_dmafree(void *softc, int *lock_stat)
}
int
-st_dmawanted()
+st_dmawanted(void)
{
return(dma_active.tqh_first->entries.tqe_next != NULL);
}
@@ -255,7 +255,7 @@ st_dmaaddr_set(void * address)
* Get address from DMA unit.
*/
u_long
-st_dmaaddr_get()
+st_dmaaddr_get(void)
{
register u_long ad = 0;
diff --git a/sys/arch/atari/dev/fd.c b/sys/arch/atari/dev/fd.c
index 24352606e40..85e14ab40df 100644
--- a/sys/arch/atari/dev/fd.c
+++ b/sys/arch/atari/dev/fd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fd.c,v 1.66 2009/03/14 21:04:06 dsl Exp $ */
+/* $NetBSD: fd.c,v 1.67 2009/03/18 10:22:24 cegger Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman.
@@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.66 2009/03/14 21:04:06 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.67 2009/03/18 10:22:24 cegger Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -776,7 +776,7 @@ fdselect(int drive, int head, int dense)
}
static void
-fddeselect()
+fddeselect(void)
{
ym2149_fd_select(PA_FDSEL);
motoron = selected = 0;
diff --git a/sys/arch/atari/dev/grfabs_et.c b/sys/arch/atari/dev/grfabs_et.c
index 2566861bad2..b2838d264c6 100644
--- a/sys/arch/atari/dev/grfabs_et.c
+++ b/sys/arch/atari/dev/grfabs_et.c
@@ -1,4 +1,4 @@
-/* $NetBSD: grfabs_et.c,v 1.29 2009/03/14 15:36:03 dsl Exp $ */
+/* $NetBSD: grfabs_et.c,v 1.30 2009/03/18 10:22:24 cegger Exp $ */
/*
* Copyright (c) 1996 Leo Weppelman.
@@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: grfabs_et.c,v 1.29 2009/03/14 15:36:03 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: grfabs_et.c,v 1.30 2009/03/18 10:22:24 cegger Exp $");
#include <sys/param.h>
#include <sys/queue.h>
@@ -402,7 +402,7 @@ alloc_colormap(dmode_t *dm)
* bus0 for et4000/et6000 cards. The first card found is used.
*/
int
-et_probe_card()
+et_probe_card(void)
{
pci_chipset_tag_t pc = NULL; /* XXX */
pcitag_t tag;
diff --git a/sys/arch/atari/dev/grfabs_fal.c b/sys/arch/atari/dev/grfabs_fal.c
index 1fd9dff8623..128b4662c65 100644
--- a/sys/arch/atari/dev/grfabs_fal.c
+++ b/sys/arch/atari/dev/grfabs_fal.c
@@ -1,4 +1,4 @@
-/* $NetBSD: grfabs_fal.c,v 1.21 2009/03/14 21:04:06 dsl Exp $ */
+/* $NetBSD: grfabs_fal.c,v 1.22 2009/03/18 10:22:24 cegger Exp $ */
/*
* Copyright (c) 1995 Thomas Gerner.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: grfabs_fal.c,v 1.21 2009/03/14 21:04:06 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: grfabs_fal.c,v 1.22 2009/03/18 10:22:24 cegger Exp $");
#ifdef FALCON_VIDEO
/*
@@ -352,7 +352,7 @@ falcon_display_view(view_t *v)
}
void
-falcon_display_switch()
+falcon_display_switch(void)
{
view_t *v;
struct videl *vregs;
diff --git a/sys/arch/atari/dev/ite_cc.c b/sys/arch/atari/dev/ite_cc.c
index 44afc3276ff..3b6ed7944e5 100644
--- a/sys/arch/atari/dev/ite_cc.c
+++ b/sys/arch/atari/dev/ite_cc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ite_cc.c,v 1.30 2009/03/14 21:04:06 dsl Exp $ */
+/* $NetBSD: ite_cc.c,v 1.31 2009/03/18 10:22:24 cegger Exp $ */
/*
* Copyright (c) 1996 Leo Weppelman
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ite_cc.c,v 1.30 2009/03/14 21:04:06 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ite_cc.c,v 1.31 2009/03/18 10:22:24 cegger Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -287,7 +287,7 @@ grfccprint(void *auxp, const char *pnp)
* called from grf_cc to return console priority
*/
int
-grfcc_cnprobe()
+grfcc_cnprobe(void)
{
return(CN_INTERNAL);
}
diff --git a/sys/arch/atari/dev/kbd.c b/sys/arch/atari/dev/kbd.c
index bef5d59f898..d0ecde29335 100644
--- a/sys/arch/atari/dev/kbd.c
+++ b/sys/arch/atari/dev/kbd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: kbd.c,v 1.35 2009/03/14 21:04:06 dsl Exp $ */
+/* $NetBSD: kbd.c,v 1.36 2009/03/18 10:22:24 cegger Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kbd.c,v 1.35 2009/03/14 21:04:06 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kbd.c,v 1.36 2009/03/18 10:22:24 cegger Exp $");
#include "mouse.h"
#include "ite.h"
@@ -243,7 +243,7 @@ kbdattach(struct device *pdp, struct device *dp, void *auxp)
}
void
-kbdenable()
+kbdenable(void)
{
int s, code;
@@ -544,7 +544,7 @@ static u_char sound[] = {
};
void
-kbdbell()
+kbdbell(void)
{
register int i, sps;
@@ -607,7 +607,7 @@ kbd_bell_sparms(u_int volume, u_int pitch, u_int duration)
}
int
-kbdgetcn()
+kbdgetcn(void)
{
u_char code;
int s = spltty();
diff --git a/sys/arch/atari/dev/ncr5380.c b/sys/arch/atari/dev/ncr5380.c
index 08c786888f1..a1f3b8331eb 100644
--- a/sys/arch/atari/dev/ncr5380.c
+++ b/sys/arch/atari/dev/ncr5380.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ncr5380.c,v 1.60 2009/03/14 21:04:06 dsl Exp $ */
+/* $NetBSD: ncr5380.c,v 1.61 2009/03/18 10:22:24 cegger Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ncr5380.c,v 1.60 2009/03/14 21:04:06 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ncr5380.c,v 1.61 2009/03/18 10:22:24 cegger Exp $");
/*
* Bit mask of targets you want debugging to be shown
@@ -123,7 +123,7 @@ extern inline int wait_req_false(void)
return (!(GET_5380_REG(NCR5380_IDSTAT) & SC_S_REQ));
}
-extern inline void ack_message()
+extern inline void ack_message(void)
{
SET_5380_REG(NCR5380_ICOM, 0);
}
@@ -1466,7 +1466,7 @@ again:
* Check results of a DMA data-transfer.
*/
static int
-dma_ready()
+dma_ready(void)
{
SC_REQ *reqp = connected;
int dmstat, is_edma;
@@ -1684,7 +1684,7 @@ reach_msg_out(struct ncr_softc *sc, u_long len)
}
void
-scsi_reset()
+scsi_reset(void)
{
SC_REQ *tmp, *next;
int sps;
@@ -2006,7 +2006,7 @@ show_signals(u_char dmstat, u_char idstat)
}
void
-scsi_show()
+scsi_show(void)
{
SC_REQ *tmp;
int sps = splhigh();
diff --git a/sys/arch/atari/dev/nvram.c b/sys/arch/atari/dev/nvram.c
index 4f62c3a3826..da976b452ff 100644
--- a/sys/arch/atari/dev/nvram.c
+++ b/sys/arch/atari/dev/nvram.c
@@ -1,4 +1,4 @@
-/* $NetBSD: nvram.c,v 1.15 2009/03/14 15:36:03 dsl Exp $ */
+/* $NetBSD: nvram.c,v 1.16 2009/03/18 10:22:24 cegger Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nvram.c,v 1.15 2009/03/14 15:36:03 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nvram.c,v 1.16 2009/03/18 10:22:24 cegger Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -174,7 +174,7 @@ nvram_uio(struct uio *uio)
}
static u_char
-nvram_csum()
+nvram_csum(void)
{
u_char csum;
int nreg;
diff --git a/sys/arch/atari/dev/view.c b/sys/arch/atari/dev/view.c
index 6cdb9174db7..567354e6747 100644
--- a/sys/arch/atari/dev/view.c
+++ b/sys/arch/atari/dev/view.c
@@ -1,4 +1,4 @@
-/* $NetBSD: view.c,v 1.28 2009/03/14 21:04:06 dsl Exp $ */
+/* $NetBSD: view.c,v 1.29 2009/03/18 10:22:24 cegger Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@@ -38,7 +38,7 @@
* a interface to graphics. */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: view.c,v 1.28 2009/03/14 21:04:06 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: view.c,v 1.29 2009/03/18 10:22:24 cegger Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -94,7 +94,7 @@ viewattach(int cnt)
/* this function is called early to set up a display. */
int
-viewprobe()
+viewprobe(void)
{
int i;