Appease -Wcast-qual
This commit is contained in:
parent
e8dd39d847
commit
7052d7a847
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fpu_emu.c,v 1.12 2004/09/15 07:04:21 scw Exp $ */
|
||||
/* $NetBSD: fpu_emu.c,v 1.13 2005/06/03 11:55:34 scw Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2001 Wasabi Systems, Inc.
|
||||
@ -76,7 +76,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.12 2004/09/15 07:04:21 scw Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.13 2005/06/03 11:55:34 scw Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
|
||||
@ -157,7 +157,7 @@ extern vaddr_t opc_disasm(vaddr_t loc, int opcode);
|
||||
void
|
||||
fpu_dumpfpn(struct fpn *fp)
|
||||
{
|
||||
static char *class[] = {
|
||||
static const char *class[] = {
|
||||
"SNAN", "QNAN", "ZERO", "NUM", "INF"
|
||||
};
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: intr.c,v 1.6 2003/07/15 02:54:43 lukem Exp $ */
|
||||
/* $NetBSD: intr.c,v 1.7 2005/06/03 11:58:02 scw Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -36,7 +36,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.6 2003/07/15 02:54:43 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.7 2005/06/03 11:58:02 scw Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/malloc.h>
|
||||
@ -64,7 +64,7 @@ __KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.6 2003/07/15 02:54:43 lukem Exp $");
|
||||
static inline void disable_irq(int irq);
|
||||
static inline void enable_irq(int irq);
|
||||
static void intr_calculatemasks(void);
|
||||
static char *intr_typename(int);
|
||||
static const char *intr_typename(int);
|
||||
|
||||
static int fakeintr(void *);
|
||||
static inline int cntlzw(int);
|
||||
@ -182,7 +182,7 @@ enable_irq(int irq)
|
||||
#endif
|
||||
}
|
||||
|
||||
static char *
|
||||
static const char *
|
||||
intr_typename(int type)
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user