From f9a4729a9b5e134850841ee06d85b97bf66e749b Mon Sep 17 00:00:00 2001 From: dillon Date: Wed, 27 Jan 1999 23:45:44 +0000 Subject: Fix warnings in preparation for adding -Wall -Wcast-qual to the kernel compile. This commit includes significant work to proper handle const arguments for the DDB symbol routines. --- sys/ddb/db_elf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/ddb/db_elf.c') diff --git a/sys/ddb/db_elf.c b/sys/ddb/db_elf.c index f5b4f4f..1eb9fa5 100644 --- a/sys/ddb/db_elf.c +++ b/sys/ddb/db_elf.c @@ -1,4 +1,4 @@ -/* $Id: db_elf.c,v 1.4 1998/10/09 23:32:03 peter Exp $ */ +/* $Id: db_elf.c,v 1.5 1999/01/27 19:00:49 dillon Exp $ */ /* $NetBSD: db_elf.c,v 1.4 1998/05/03 18:49:54 thorpej Exp $ */ /*- @@ -354,7 +354,7 @@ X_db_line_at_pc(symtab, cursym, filename, linenum, off) boolean_t X_db_sym_numargs(symtab, cursym, nargp, argnamep) db_symtab_t *symtab; - db_sym_t cursym; + c_db_sym_t cursym; int *nargp; char **argnamep; { -- cgit v1.1