Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/acpi Fix prototypes; SYSCTLFN_ARGS -> SYSCTLFN_PROTO.



details:   https://anonhg.NetBSD.org/src/rev/0046ba8cc8e7
branches:  trunk
changeset: 756875:0046ba8cc8e7
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Fri Aug 06 18:10:40 2010 +0000

description:
Fix prototypes; SYSCTLFN_ARGS -> SYSCTLFN_PROTO.
(These things really only obscure the code.)

diffstat:

 sys/dev/acpi/acpi.c       |  10 +++++-----
 sys/dev/acpi/acpi_power.c |   6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (58 lines):

diff -r 406910bed1eb -r 0046ba8cc8e7 sys/dev/acpi/acpi.c
--- a/sys/dev/acpi/acpi.c       Fri Aug 06 17:00:12 2010 +0000
+++ b/sys/dev/acpi/acpi.c       Fri Aug 06 18:10:40 2010 +0000
@@ -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_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);
diff -r 406910bed1eb -r 0046ba8cc8e7 sys/dev/acpi/acpi_power.c
--- a/sys/dev/acpi/acpi_power.c Fri Aug 06 17:00:12 2010 +0000
+++ b/sys/dev/acpi/acpi_power.c Fri Aug 06 18:10:40 2010 +0000
@@ -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_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 *



Home | Main Index | Thread Index | Old Index