From 0cf566ec651d073db71dad1de50a0df77587fbd2 Mon Sep 17 00:00:00 2001 From: David Carlton Date: Mon, 2 Jun 2003 18:36:33 +0000 Subject: 2003-06-02 David Carlton * block.c (contained_in): Add 'const' to arguments. (block_function): Ditto. * block.h: Update declarations for block_function and contained_in. --- gdb/block.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/block.h') diff --git a/gdb/block.h b/gdb/block.h index 442fa4a..8334a3b 100644 --- a/gdb/block.h +++ b/gdb/block.h @@ -187,9 +187,9 @@ struct blockvector #define STATIC_BLOCK 1 #define FIRST_LOCAL_BLOCK 2 -extern struct symbol *block_function (struct block *); +extern struct symbol *block_function (const struct block *); -extern int contained_in (struct block *, struct block *); +extern int contained_in (const struct block *, const struct block *); extern struct blockvector *blockvector_for_pc (CORE_ADDR, int *); -- cgit v1.1