2003-06-02 David Carlton <carlton@math.stanford.edu>

* block.c (contained_in): Add 'const' to arguments.
	(block_function): Ditto.
	* block.h: Update declarations for block_function and
	contained_in.
This commit is contained in:
David Carlton
2003-06-02 18:36:33 +00:00
parent cdef89d011
commit 0cf566ec65
3 changed files with 11 additions and 4 deletions

View File

@@ -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 *);