Fix more debug const fallout from Hauke Fath.

This commit is contained in:
christos 2005-10-29 16:34:19 +00:00
parent 9a01903be3
commit 44545da4e2
2 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pram.c,v 1.19 2003/07/15 02:43:22 lukem Exp $ */
/* $NetBSD: pram.c,v 1.20 2005/10/29 16:34:19 christos Exp $ */
/*-
* Copyright (C) 1993 Allen K. Briggs, Chris P. Caputo,
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pram.c,v 1.19 2003/07/15 02:43:22 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: pram.c,v 1.20 2005/10/29 16:34:19 christos Exp $");
#include "opt_adb.h"
@ -52,11 +52,11 @@ __KERNEL_RCSID(0, "$NetBSD: pram.c,v 1.19 2003/07/15 02:43:22 lukem Exp $");
#endif
#if DEBUG
static char *convtime(unsigned long t)
static const char *convtime(unsigned long t)
{
static long daypmon[] = { 31,28,31,30,31,30,31,31,30,31,30,31 };
static char *monstr[] = {"January","February","March","April","May","June",
"July","August","September","October","November","December" };
static const char *monstr[] = {"January","February","March","April","May",
"June","July","August","September","October","November","December" };
static char s[200];
long year,month,day,hour,minute,seconds,i,dayperyear;

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.114 2005/06/03 11:15:44 rjs Exp $ */
/* $NetBSD: trap.c,v 1.115 2005/10/29 16:34:19 christos Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.114 2005/06/03 11:15:44 rjs Exp $");
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.115 2005/10/29 16:34:19 christos Exp $");
#include "opt_ddb.h"
#include "opt_execfmt.h"
@ -703,9 +703,9 @@ struct writebackstats {
int wbsize[4];
} wbstats;
char *f7sz[] = { "longword", "byte", "word", "line" };
char *f7tt[] = { "normal", "MOVE16", "AFC", "ACK" };
char *f7tm[] = { "d-push", "u-data", "u-code", "M-data",
const char *f7sz[] = { "longword", "byte", "word", "line" };
const char *f7tt[] = { "normal", "MOVE16", "AFC", "ACK" };
const char *f7tm[] = { "d-push", "u-data", "u-code", "M-data",
"M-code", "k-data", "k-code", "RES" };
char wberrstr[] =
"WARNING: pid %d(%s) writeback [%s] failed, pc=%x fa=%x wba=%x wbd=%x\n";