From a706d499a167e252fbb62bbbf8a4a0a78f541c43 Mon Sep 17 00:00:00 2001 From: itojun Date: Tue, 8 Jul 2003 09:07:15 +0000 Subject: [PATCH] function prototype must not have variable name --- sys/dev/acpi/acpivar.h | 4 ++-- sys/dev/mulaw.h | 40 ++++++++++++++++++++-------------------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/sys/dev/acpi/acpivar.h b/sys/dev/acpi/acpivar.h index cbb0d4ebc953..7f74dc61b207 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 54d3aef879c4..42ff535117bc 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);