cast-qual fallout
This commit is contained in:
parent
fef1b9e902
commit
31924c84cd
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cgd.c,v 1.25 2005/05/31 02:50:59 xtraeme Exp $ */
|
||||
/* $NetBSD: cgd.c,v 1.26 2005/05/31 19:20:37 drochner Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||
@ -37,7 +37,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.25 2005/05/31 02:50:59 xtraeme Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.26 2005/05/31 19:20:37 drochner Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@ -124,7 +124,7 @@ int cgddebug = 0;
|
||||
#define DPRINTF(x,y) IFDEBUG(x, printf y)
|
||||
#define DPRINTF_FOLLOW(y) DPRINTF(CGDB_FOLLOW, y)
|
||||
|
||||
static void hexprint(char *, void *, int);
|
||||
static void hexprint(const char *, void *, int);
|
||||
|
||||
#else
|
||||
#define IFDEBUG(x,y)
|
||||
@ -787,7 +787,7 @@ cgd_cipher(struct cgd_softc *cs, caddr_t dst, caddr_t src,
|
||||
|
||||
#ifdef DEBUG
|
||||
static void
|
||||
hexprint(char *start, void *buf, int len)
|
||||
hexprint(const char *start, void *buf, int len)
|
||||
{
|
||||
char *c = buf;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: esl.c,v 1.16 2005/03/24 22:34:39 jmcneill Exp $ */
|
||||
/* $NetBSD: esl.c,v 1.17 2005/05/31 19:25:18 drochner Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 Jared D. McNeill <jmcneill@invisible.ca>
|
||||
@ -34,7 +34,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: esl.c,v 1.16 2005/03/24 22:34:39 jmcneill Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: esl.c,v 1.17 2005/05/31 19:25:18 drochner Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -138,7 +138,7 @@ const struct audio_hw_if esl_hw_if = {
|
||||
NULL,
|
||||
};
|
||||
|
||||
static char *eslmodel[] = {
|
||||
static const char *eslmodel[] = {
|
||||
"1688",
|
||||
"688",
|
||||
};
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ohci.c,v 1.165 2005/05/28 07:44:37 skrll Exp $ */
|
||||
/* $NetBSD: ohci.c,v 1.166 2005/05/31 19:21:08 drochner Exp $ */
|
||||
/* $FreeBSD: src/sys/dev/usb/ohci.c,v 1.22 1999/11/17 22:33:40 n_hibma Exp $ */
|
||||
|
||||
/*
|
||||
@ -48,7 +48,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.165 2005/05/28 07:44:37 skrll Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.166 2005/05/31 19:21:08 drochner Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -1222,7 +1222,7 @@ ohci_rhsc_enable(void *v_sc)
|
||||
}
|
||||
|
||||
#ifdef OHCI_DEBUG
|
||||
char *ohci_cc_strs[] = {
|
||||
const char *ohci_cc_strs[] = {
|
||||
"NO_ERROR",
|
||||
"CRC",
|
||||
"BIT_STUFFING",
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: umass.c,v 1.118 2005/05/11 10:02:28 augustss Exp $ */
|
||||
/* $NetBSD: umass.c,v 1.119 2005/05/31 19:26:22 drochner Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2003 The NetBSD Foundation, Inc.
|
||||
@ -131,7 +131,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.118 2005/05/11 10:02:28 augustss Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.119 2005/05/31 19:26:22 drochner Exp $");
|
||||
|
||||
#include "atapibus.h"
|
||||
#include "scsibus.h"
|
||||
@ -170,7 +170,7 @@ __KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.118 2005/05/11 10:02:28 augustss Exp $")
|
||||
#ifdef UMASS_DEBUG
|
||||
int umassdebug = 0;
|
||||
|
||||
char *states[TSTATE_STATES+1] = {
|
||||
const char *states[TSTATE_STATES+1] = {
|
||||
/* should be kept in sync with the list at transfer_state */
|
||||
"Idle",
|
||||
"BBB CBW",
|
||||
|
Loading…
Reference in New Issue
Block a user