summaryrefslogtreecommitdiffstats
path: root/sys/ddb/ddb.h
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-01-27 19:00:49 +0000
committerdillon <dillon@FreeBSD.org>1999-01-27 19:00:49 +0000
commit153f359f37030efa351afc646b7c20ec86c43ec3 (patch)
tree7b67d66dc20193bb5e4d5f537705271a8e01d2d7 /sys/ddb/ddb.h
parenta6a88d5c196f23f81a6ab6cd6c895263496f9c8d (diff)
downloadFreeBSD-src-153f359f37030efa351afc646b7c20ec86c43ec3.zip
FreeBSD-src-153f359f37030efa351afc646b7c20ec86c43ec3.tar.gz
Changes to support -Wall, -Wcast-qual. Had to make physical code changes
in db_lookup() to avoid the *cp = 0 / *cp = ':' combo ( temporary nul-terminate-then-restore-original ) on a const char * string.
Diffstat (limited to 'sys/ddb/ddb.h')
-rw-r--r--sys/ddb/ddb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/ddb.h b/sys/ddb/ddb.h
index 4cfdb89..dcce9b2 100644
--- a/sys/ddb/ddb.h
+++ b/sys/ddb/ddb.h
@@ -27,7 +27,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ddb.h,v 1.19 1998/07/08 09:11:40 bde Exp $
+ * $Id: ddb.h,v 1.20 1998/07/13 06:45:23 bde Exp $
*/
/*
@@ -100,7 +100,7 @@ void db_skip_to_eol __P((void));
boolean_t db_stop_at_pc __P((boolean_t *is_breakpoint));
#define db_strcpy strcpy
void db_trap __P((int type, int code));
-int db_value_of_name __P((char *name, db_expr_t *valuep));
+int db_value_of_name __P((const char *name, db_expr_t *valuep));
void db_write_bytes __P((vm_offset_t addr, size_t size, char *data));
/* machine-dependent */
void kdb_init __P((void));
OpenPOWER on IntegriCloud