Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ddb make parameter 'name' for db_del_symbol_table() const



details:   https://anonhg.NetBSD.org/src/rev/1e9a18bf4b63
branches:  trunk
changeset: 545745:1e9a18bf4b63
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Apr 16 09:00:29 2003 +0000

description:
make parameter 'name' for db_del_symbol_table() const

diffstat:

 sys/ddb/db_sym.c |  6 +++---
 sys/ddb/db_sym.h |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r be45849f551b -r 1e9a18bf4b63 sys/ddb/db_sym.c
--- a/sys/ddb/db_sym.c  Wed Apr 16 08:58:18 2003 +0000
+++ b/sys/ddb/db_sym.c  Wed Apr 16 09:00:29 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_sym.c,v 1.33 2002/11/10 03:22:28 thorpej Exp $      */
+/*     $NetBSD: db_sym.c,v 1.34 2003/04/16 09:00:29 jdolecek Exp $     */
 
 /*
  * Mach Operating System
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_sym.c,v 1.33 2002/11/10 03:22:28 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_sym.c,v 1.34 2003/04/16 09:00:29 jdolecek Exp $");
 
 #include "opt_ddbparam.h"
 
@@ -175,7 +175,7 @@
  * Delete a symbol table. Caller is responsible for freeing storage.
  */
 void
-db_del_symbol_table(char *name)
+db_del_symbol_table(const char *name)
 {
        int slot;
 
diff -r be45849f551b -r 1e9a18bf4b63 sys/ddb/db_sym.h
--- a/sys/ddb/db_sym.h  Wed Apr 16 08:58:18 2003 +0000
+++ b/sys/ddb/db_sym.h  Wed Apr 16 09:00:29 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_sym.h,v 1.16 2002/02/15 07:33:53 simonb Exp $       */
+/*     $NetBSD: db_sym.h,v 1.17 2003/04/16 09:00:30 jdolecek Exp $     */
 
 /*
  * Mach Operating System
@@ -107,7 +107,7 @@
 int            db_add_symbol_table(char *, char *, const char *, char *);
                                        /* extend the list of symbol tables */
 
-void           db_del_symbol_table(char *);
+void           db_del_symbol_table(const char *);
                                        /* remove a symbol table from list */
 
 boolean_t      db_eqname(char *, char *, int);



Home | Main Index | Thread Index | Old Index