summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authoritojun <itojun@NetBSD.org>2003-07-08 09:07:15 +0000
committeritojun <itojun@NetBSD.org>2003-07-08 09:07:15 +0000
commita706d499a167e252fbb62bbbf8a4a0a78f541c43 (patch)
treed15d205191db3f487f00d95fa75428d3869b6dac /sys/dev
parent8ae8eb43b3ca82b821363f1bb54c28b4c7c9ecdd (diff)
function prototype must not have variable name
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpi/acpivar.h4
-rw-r--r--sys/dev/mulaw.h40
2 files changed, 22 insertions, 22 deletions
diff --git a/sys/dev/acpi/acpivar.h b/sys/dev/acpi/acpivar.h
index cbb0d4ebc95..7f74dc61b20 100644
--- a/sys/dev/acpi/acpivar.h
+++ b/sys/dev/acpi/acpivar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: acpivar.h,v 1.11 2003/05/15 21:29:50 fvdl Exp $ */
+/* $NetBSD: acpivar.h,v 1.12 2003/07/08 09:07:16 itojun Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -281,7 +281,7 @@ struct acpi_drq *acpi_res_drq(struct acpi_resources *, int);
/*
* power state transition
*/
-ACPI_STATUS acpi_enter_sleep_state(struct acpi_softc *, int state);
+ACPI_STATUS acpi_enter_sleep_state(struct acpi_softc *, int);
ACPI_STATUS acpi_acquire_global_lock(UINT32 *);
void acpi_release_global_lock(UINT32);
diff --git a/sys/dev/mulaw.h b/sys/dev/mulaw.h
index 54d3aef879c..42ff535117b 100644
--- a/sys/dev/mulaw.h
+++ b/sys/dev/mulaw.h
@@ -1,4 +1,4 @@
-/* $NetBSD: mulaw.h,v 1.15 2003/04/06 18:20:12 wiz Exp $ */
+/* $NetBSD: mulaw.h,v 1.16 2003/07/08 09:07:15 itojun Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -37,29 +37,29 @@
*/
/* Convert 8-bit mu-law to 16 bit unsigned linear. */
-extern void mulaw_to_ulinear16_le(void *, u_char *buf, int cnt);
-extern void mulaw_to_ulinear16_be(void *, u_char *buf, int cnt);
+extern void mulaw_to_ulinear16_le(void *, u_char *, int);
+extern void mulaw_to_ulinear16_be(void *, u_char *, int);
/* Convert 8-bit mu-law from/to 16 bit signed linear. */
-extern void mulaw_to_slinear16_le(void *, u_char *buf, int cnt);
-extern void mulaw_to_slinear16_be(void *, u_char *buf, int cnt);
-extern void slinear16_to_mulaw_le(void *, u_char *buf, int cnt);
+extern void mulaw_to_slinear16_le(void *, u_char *, int);
+extern void mulaw_to_slinear16_be(void *, u_char *, int);
+extern void slinear16_to_mulaw_le(void *, u_char *, int);
/* Convert 8-bit mu-law to/from 8 bit unsigned linear. */
-extern void mulaw_to_ulinear8(void *, u_char *buf, int cnt);
-extern void ulinear8_to_mulaw(void *, u_char *buf, int cnt);
+extern void mulaw_to_ulinear8(void *, u_char *, int);
+extern void ulinear8_to_mulaw(void *, u_char *, int);
/* Convert 8-bit mu-law to/from 8 bit signed linear. */
-extern void mulaw_to_slinear8(void *, u_char *buf, int cnt);
-extern void slinear8_to_mulaw(void *, u_char *buf, int cnt);
+extern void mulaw_to_slinear8(void *, u_char *, int);
+extern void slinear8_to_mulaw(void *, u_char *, int);
/* Convert 8-bit A-law to 16 bit unsigned linear. */
-extern void alaw_to_ulinear16_le(void *, u_char *buf, int cnt);
-extern void alaw_to_ulinear16_be(void *, u_char *buf, int cnt);
+extern void alaw_to_ulinear16_le(void *, u_char *, int);
+extern void alaw_to_ulinear16_be(void *, u_char *, int);
/* Convert 8-bit A-law to/from 16 bit signed linear. */
-extern void alaw_to_slinear16_le(void *, u_char *buf, int cnt);
-extern void alaw_to_slinear16_be(void *, u_char *buf, int cnt);
-extern void slinear16_to_alaw_le(void *, u_char *buf, int cnt);
-extern void slinear16_to_alaw_be(void *, u_char *buf, int cnt);
+extern void alaw_to_slinear16_le(void *, u_char *, int);
+extern void alaw_to_slinear16_be(void *, u_char *, int);
+extern void slinear16_to_alaw_le(void *, u_char *, int);
+extern void slinear16_to_alaw_be(void *, u_char *, int);
/* Convert 8-bit A-law to/from 8 bit unsigned linear. */
-extern void alaw_to_ulinear8(void *, u_char *buf, int cnt);
-extern void ulinear8_to_alaw(void *, u_char *buf, int cnt);
+extern void alaw_to_ulinear8(void *, u_char *, int);
+extern void ulinear8_to_alaw(void *, u_char *, int);
/* Convert 8-bit A-law to/from 8 bit signed linear. */
-extern void alaw_to_slinear8(void *, u_char *buf, int cnt);
-extern void slinear8_to_alaw(void *, u_char *buf, int cnt);
+extern void alaw_to_slinear8(void *, u_char *, int);
+extern void slinear8_to_alaw(void *, u_char *, int);