Subject: const fall-out
To: None <current-users@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 06/01/2005 18:19:42
--45Z9DzgjV8m4Oswq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Just spotted some trivial const fallout..
Cheers,
Patrick
--45Z9DzgjV8m4Oswq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=dbpat
Index: db_interface.c
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/i386/db_interface.c,v
retrieving revision 1.42
diff -u -r1.42 db_interface.c
--- db_interface.c 13 Feb 2004 11:36:13 -0000 1.42
+++ db_interface.c 1 Jun 2005 17:15:49 -0000
@@ -68,7 +68,7 @@
int db_active = 0;
db_regs_t ddb_regs; /* register state */
-void db_mach_cpu (db_expr_t, int, db_expr_t, char *);
+void db_mach_cpu (db_expr_t, int, db_expr_t, const char *);
const struct db_command db_machine_command_table[] = {
#ifdef MULTIPROCESSOR
@@ -343,7 +343,7 @@
db_expr_t addr;
int have_addr;
db_expr_t count;
- char * modif;
+ const char * modif;
{
struct cpu_info *ci;
if (!have_addr) {
--45Z9DzgjV8m4Oswq--