- Use ANSI function decls.

- KNF.
This commit is contained in:
peter 2005-10-23 15:19:58 +00:00
parent fcadfb2052
commit 8a5e924b94
1 changed files with 10 additions and 14 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: sacc_hpcarm.c,v 1.2 2005/06/30 17:03:53 drochner Exp $ */ /* $NetBSD: sacc_hpcarm.c,v 1.3 2005/10/23 15:19:58 peter Exp $ */
/*- /*-
* Copyright (c) 2001 The NetBSD Foundation, Inc. * Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -41,7 +41,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sacc_hpcarm.c,v 1.2 2005/06/30 17:03:53 drochner Exp $"); __KERNEL_RCSID(0, "$NetBSD: sacc_hpcarm.c,v 1.3 2005/10/23 15:19:58 peter Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -83,10 +83,7 @@ CFATTACH_DECL(sacc, sizeof(struct sacc_softc),
#endif #endif
static void static void
sacc_attach(parent, self, aux) sacc_attach(struct device *parent, struct device *self, void *aux)
struct device *parent;
struct device *self;
void *aux;
{ {
int i, gpiopin; int i, gpiopin;
u_int32_t skid; u_int32_t skid;
@ -139,8 +136,7 @@ sacc_attach(parent, self, aux)
} }
static int static int
sacc_intr(arg) sacc_intr(void *arg)
void *arg;
{ {
int i; int i;
u_int32_t mask; u_int32_t mask;