Fix prototypes; SYSCTLFN_ARGS -> SYSCTLFN_PROTO.

(These things really only obscure the code.)
This commit is contained in:
jruoho 2010-08-06 18:10:40 +00:00
parent db0aba6ecf
commit 2a35c4cf20
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: acpi.c,v 1.208 2010/07/25 12:54:46 pgoyette Exp $ */
/* $NetBSD: acpi.c,v 1.209 2010/08/06 18:10:40 jruoho Exp $ */
/*-
* Copyright (c) 2003, 2007 The NetBSD Foundation, Inc.
@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.208 2010/07/25 12:54:46 pgoyette Exp $");
__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.209 2010/08/06 18:10:40 jruoho Exp $");
#include "opt_acpi.h"
#include "opt_pcifixup.h"
@ -189,9 +189,9 @@ static void acpi_fixed_button_pressed(void *);
static void acpi_sleep_init(struct acpi_softc *);
static int sysctl_hw_acpi_fixedstats(SYSCTLFN_ARGS);
static int sysctl_hw_acpi_sleepstate(SYSCTLFN_ARGS);
static int sysctl_hw_acpi_sleepstates(SYSCTLFN_ARGS);
static int sysctl_hw_acpi_fixedstats(SYSCTLFN_PROTO);
static int sysctl_hw_acpi_sleepstate(SYSCTLFN_PROTO);
static int sysctl_hw_acpi_sleepstates(SYSCTLFN_PROTO);
static bool acpi_is_scope(struct acpi_devnode *);
static ACPI_TABLE_HEADER *acpi_map_rsdt(void);

View File

@ -1,4 +1,4 @@
/* $NetBSD: acpi_power.c,v 1.21 2010/07/01 09:28:37 jruoho Exp $ */
/* $NetBSD: acpi_power.c,v 1.22 2010/08/06 18:10:40 jruoho Exp $ */
/*-
* Copyright (c) 2009, 2010 The NetBSD Foundation, Inc.
@ -56,7 +56,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: acpi_power.c,v 1.21 2010/07/01 09:28:37 jruoho Exp $");
__KERNEL_RCSID(0, "$NetBSD: acpi_power.c,v 1.22 2010/08/06 18:10:40 jruoho Exp $");
#include <sys/param.h>
#include <sys/kmem.h>
@ -115,7 +115,7 @@ static ACPI_STATUS acpi_power_res_deref(struct acpi_power_res *,
static ACPI_STATUS acpi_power_res_sta(ACPI_OBJECT *, void *);
static ACPI_OBJECT *acpi_power_pkg_get(ACPI_HANDLE, int);
static int acpi_power_sysctl(SYSCTLFN_ARGS);
static int acpi_power_sysctl(SYSCTLFN_PROTO);
static const char *acpi_xname(ACPI_HANDLE);
static struct acpi_power_res *