prototypes don't need argument names
This commit is contained in:
parent
539e1b8f22
commit
92d51ace0f
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: acpi_bat.c,v 1.41 2005/12/11 12:21:01 christos Exp $ */
|
||||
/* $NetBSD: acpi_bat.c,v 1.42 2006/02/16 06:19:26 kochi Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2003 The NetBSD Foundation, Inc.
|
||||
|
@ -86,7 +86,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: acpi_bat.c,v 1.41 2005/12/11 12:21:01 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: acpi_bat.c,v 1.42 2006/02/16 06:19:26 kochi Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -230,7 +230,7 @@ static void acpibat_print_stat(struct acpibat_softc *);
|
|||
static void acpibat_update(void *);
|
||||
|
||||
static void acpibat_init_envsys(struct acpibat_softc *);
|
||||
static void acpibat_notify_handler(ACPI_HANDLE, UINT32, void *context);
|
||||
static void acpibat_notify_handler(ACPI_HANDLE, UINT32, void *);
|
||||
static int acpibat_gtredata(struct sysmon_envsys *, struct envsys_tre_data *);
|
||||
static int acpibat_streinfo(struct sysmon_envsys *, struct envsys_basic_info *);
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: acpi_button.c,v 1.18 2005/12/11 12:21:01 christos Exp $ */
|
||||
/* $NetBSD: acpi_button.c,v 1.19 2006/02/16 06:19:26 kochi Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2001, 2003 Wasabi Systems, Inc.
|
||||
|
@ -40,7 +40,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: acpi_button.c,v 1.18 2005/12/11 12:21:01 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: acpi_button.c,v 1.19 2006/02/16 06:19:26 kochi Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -78,7 +78,7 @@ CFATTACH_DECL(acpibut, sizeof(struct acpibut_softc),
|
|||
acpibut_match, acpibut_attach, NULL, NULL);
|
||||
|
||||
static void acpibut_pressed_event(void *);
|
||||
static void acpibut_notify_handler(ACPI_HANDLE, UINT32, void *context);
|
||||
static void acpibut_notify_handler(ACPI_HANDLE, UINT32, void *);
|
||||
|
||||
/*
|
||||
* acpibut_match:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: acpi_ec.c,v 1.35 2005/12/24 20:27:29 perry Exp $ */
|
||||
/* $NetBSD: acpi_ec.c,v 1.36 2006/02/16 06:19:26 kochi Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2001 Wasabi Systems, Inc.
|
||||
|
@ -172,7 +172,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: acpi_ec.c,v 1.35 2005/12/24 20:27:29 perry Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: acpi_ec.c,v 1.36 2006/02/16 06:19:26 kochi Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -246,22 +246,16 @@ typedef struct {
|
|||
UINT8 Data;
|
||||
} EC_REQUEST;
|
||||
|
||||
static UINT32 EcGpeHandler(void *Context);
|
||||
static ACPI_STATUS EcSpaceSetup(ACPI_HANDLE Region, UINT32 Function,
|
||||
void *Context, void **return_Context);
|
||||
static ACPI_STATUS EcSpaceHandler(UINT32 Function,
|
||||
ACPI_PHYSICAL_ADDRESS Address, UINT32 width,
|
||||
ACPI_INTEGER *Value, void *Context,
|
||||
void *RegionContext);
|
||||
static UINT32 EcGpeHandler(void *);
|
||||
static ACPI_STATUS EcSpaceSetup(ACPI_HANDLE, UINT32, void *, void **);
|
||||
static ACPI_STATUS EcSpaceHandler(UINT32, ACPI_PHYSICAL_ADDRESS, UINT32,
|
||||
ACPI_INTEGER *, void *, void *);
|
||||
|
||||
static ACPI_STATUS EcWaitEvent(struct acpi_ec_softc *sc, EC_EVENT Event);
|
||||
static ACPI_STATUS EcQuery(struct acpi_ec_softc *sc, UINT8 *Data);
|
||||
static ACPI_STATUS EcTransaction(struct acpi_ec_softc *sc,
|
||||
EC_REQUEST *EcRequest);
|
||||
static ACPI_STATUS EcRead(struct acpi_ec_softc *sc, UINT8 Address,
|
||||
UINT8 *Data);
|
||||
static ACPI_STATUS EcWrite(struct acpi_ec_softc *sc, UINT8 Address,
|
||||
UINT8 *Data);
|
||||
static ACPI_STATUS EcWaitEvent(struct acpi_ec_softc *, EC_EVENT);
|
||||
static ACPI_STATUS EcQuery(struct acpi_ec_softc *, UINT8 *);
|
||||
static ACPI_STATUS EcTransaction(struct acpi_ec_softc *, EC_REQUEST *);
|
||||
static ACPI_STATUS EcRead(struct acpi_ec_softc *, UINT8, UINT8 *);
|
||||
static ACPI_STATUS EcWrite(struct acpi_ec_softc *, UINT8, UINT8 *);
|
||||
static void EcGpeQueryHandler(void *);
|
||||
static inline int EcIsLocked(struct acpi_ec_softc *);
|
||||
static inline void EcLock(struct acpi_ec_softc *);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: acpi_lid.c,v 1.17 2005/12/11 12:21:01 christos Exp $ */
|
||||
/* $NetBSD: acpi_lid.c,v 1.18 2006/02/16 06:19:26 kochi Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2001, 2003 Wasabi Systems, Inc.
|
||||
|
@ -40,7 +40,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: acpi_lid.c,v 1.17 2005/12/11 12:21:01 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: acpi_lid.c,v 1.18 2006/02/16 06:19:26 kochi Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -70,7 +70,7 @@ CFATTACH_DECL(acpilid, sizeof(struct acpilid_softc),
|
|||
acpilid_match, acpilid_attach, NULL, NULL);
|
||||
|
||||
static void acpilid_status_changed(void *);
|
||||
static void acpilid_notify_handler(ACPI_HANDLE, UINT32, void *context);
|
||||
static void acpilid_notify_handler(ACPI_HANDLE, UINT32, void *);
|
||||
|
||||
/*
|
||||
* acpilid_match:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: acpi_powerres.c,v 1.3 2005/12/11 12:21:01 christos Exp $ */
|
||||
/* $NetBSD: acpi_powerres.c,v 1.4 2006/02/16 06:19:26 kochi Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2001 Michael Smith
|
||||
|
@ -29,7 +29,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: acpi_powerres.c,v 1.3 2005/12/11 12:21:01 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: acpi_powerres.c,v 1.4 2006/02/16 06:19:26 kochi Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
|
@ -105,16 +105,16 @@ static TAILQ_HEAD(acpi_powerresource_list, acpi_powerresource)
|
|||
static TAILQ_HEAD(acpi_powerconsumer_list, acpi_powerconsumer)
|
||||
acpi_powerconsumers = TAILQ_HEAD_INITIALIZER(acpi_powerconsumers);
|
||||
|
||||
static ACPI_STATUS acpi_pwr_register_consumer(ACPI_HANDLE consumer);
|
||||
static ACPI_STATUS acpi_pwr_register_consumer(ACPI_HANDLE);
|
||||
#if 0
|
||||
static ACPI_STATUS acpi_pwr_register_resource(ACPI_HANDLE res);
|
||||
static ACPI_STATUS acpi_pwr_deregister_consumer(ACPI_HANDLE consumer);
|
||||
static ACPI_STATUS acpi_pwr_deregister_resource(ACPI_HANDLE res);
|
||||
static ACPI_STATUS acpi_pwr_register_resource(ACPI_HANDLE);
|
||||
static ACPI_STATUS acpi_pwr_deregister_consumer(ACPI_HANDLE);
|
||||
static ACPI_STATUS acpi_pwr_deregister_resource(ACPI_HANDLE);
|
||||
#endif
|
||||
static ACPI_STATUS acpi_pwr_reference_resource(ACPI_OBJECT *obj, void *arg);
|
||||
static ACPI_STATUS acpi_pwr_reference_resource(ACPI_OBJECT *, void *);
|
||||
static ACPI_STATUS acpi_pwr_switch_power(void);
|
||||
static struct acpi_powerresource *acpi_pwr_find_resource(ACPI_HANDLE res);
|
||||
static struct acpi_powerconsumer *acpi_pwr_find_consumer(ACPI_HANDLE consumer);
|
||||
static struct acpi_powerresource *acpi_pwr_find_resource(ACPI_HANDLE);
|
||||
static struct acpi_powerconsumer *acpi_pwr_find_consumer(ACPI_HANDLE);
|
||||
|
||||
/*
|
||||
* Register a power resource.
|
||||
|
|
Loading…
Reference in New Issue