aboutsummaryrefslogtreecommitdiff
path: root/gdb/block.h
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-06-02 18:36:33 +0000
committerDavid Carlton <carlton@bactrian.org>2003-06-02 18:36:33 +0000
commit0cf566ec651d073db71dad1de50a0df77587fbd2 (patch)
treec5b585f3c676dbbefb78796b5a1281d8023891e6 /gdb/block.h
parentcdef89d01172a24cd4122ed71f781d4099225542 (diff)
downloadgdb-0cf566ec651d073db71dad1de50a0df77587fbd2.zip
gdb-0cf566ec651d073db71dad1de50a0df77587fbd2.tar.gz
gdb-0cf566ec651d073db71dad1de50a0df77587fbd2.tar.bz2
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.
Diffstat (limited to 'gdb/block.h')
-rw-r--r--gdb/block.h4
1 files changed, 2 insertions, 2 deletions
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 *);