diff options
author | Matthew Dillon <dillon@FreeBSD.org> | 1999-01-27 19:00:49 +0000 |
---|---|---|
committer | Matthew Dillon <dillon@FreeBSD.org> | 1999-01-27 19:00:49 +0000 |
commit | a1c1e16ada2a9f4797e3a244543b59c35b6cb479 (patch) | |
tree | 9e6f61347a80cb87b88be20ea1dbe3e218f9cf58 /sys/ddb/ddb.h | |
parent | cc6e054933a292b7aa4edfcb6a21093b783ec354 (diff) | |
download | src-a1c1e16ada2a9f4797e3a244543b59c35b6cb479.tar.gz src-a1c1e16ada2a9f4797e3a244543b59c35b6cb479.zip |
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.
Notes
Notes:
svn path=/head/; revision=43289
Diffstat (limited to 'sys/ddb/ddb.h')
-rw-r--r-- | sys/ddb/ddb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/ddb.h b/sys/ddb/ddb.h index 4cfdb892be47..dcce9b2c834a 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)); |