summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2014-10-05 11:30:34 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2014-10-05 11:30:34 +0000
commit867eee951893d53516ed896221836f1afdc3df60 (patch)
treeb05d1665c006b602d4a876d18546905e4957379c /sys
parent6ff2fd4f87778f425ed5e96b10e6e447ebbbfa8a (diff)
ansify function definitions.
no binary change.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/sparc64/intr.c17
1 files changed, 5 insertions, 12 deletions
diff --git a/sys/arch/sparc64/sparc64/intr.c b/sys/arch/sparc64/sparc64/intr.c
index 536dde01d22..f5161997d5b 100644
--- a/sys/arch/sparc64/sparc64/intr.c
+++ b/sys/arch/sparc64/sparc64/intr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.c,v 1.49 2014/07/12 18:44:43 tedu Exp $ */
+/* $OpenBSD: intr.c,v 1.50 2014/10/05 11:30:33 dlg Exp $ */
/* $NetBSD: intr.c,v 1.39 2001/07/19 23:38:11 eeh Exp $ */
/*
@@ -79,9 +79,7 @@ int ignore_stray = 1;
int straycnt[16];
void
-strayintr(fp, vectored)
- const struct trapframe64 *fp;
- int vectored;
+strayintr(const struct trapframe64 *fp, int vectored)
{
static int straytime, nstray;
int timesince;
@@ -315,10 +313,7 @@ intr_establish(int level, struct intrhand *ih)
}
void *
-softintr_establish(level, fun, arg)
- int level;
- void (*fun)(void *);
- void *arg;
+softintr_establish(int level, void (*fun)(void *), void *arg)
{
struct intrhand *ih;
@@ -336,15 +331,13 @@ softintr_establish(level, fun, arg)
}
void
-softintr_disestablish(cookie)
- void *cookie;
+softintr_disestablish(void *cookie)
{
free(cookie, M_DEVBUF, 0);
}
void
-softintr_schedule(cookie)
- void *cookie;
+softintr_schedule(void *cookie)
{
struct intrhand *ih = (struct intrhand *)cookie;