diff options
author | Tom Tromey <tom@tromey.com> | 2018-05-20 11:12:57 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-07-16 08:55:17 -0600 |
commit | 0ec44fc067ca71f968a4fedda1c17cba2e5ad0ca (patch) | |
tree | 10da6ed1605d1b1a4b33463627df9824445db1c9 /gdb/buildsym.h | |
parent | 81cc346dc98678c5d196c7110795d8f2edfd8f50 (diff) | |
download | binutils-gdb-0ec44fc067ca71f968a4fedda1c17cba2e5ad0ca.tar.gz |
Make context_stack_size static in buildsym.c
context_stack_size is declared in buildsym.h, but only used in
buildsym.c. This makes it static in buildsym.c.
gdb/ChangeLog
2018-07-16 Tom Tromey <tom@tromey.com>
* buildsym.h (context_stack_size): Don't declare.
* buildsym.c (context_stack_size): New global.
Diffstat (limited to 'gdb/buildsym.h')
-rw-r--r-- | gdb/buildsym.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/buildsym.h b/gdb/buildsym.h index 088c1d790e4..191db8ca4fa 100644 --- a/gdb/buildsym.h +++ b/gdb/buildsym.h @@ -159,10 +159,6 @@ EXTERN struct context_stack *context_stack; EXTERN int context_stack_depth; -/* Currently allocated size of context stack. */ - -EXTERN int context_stack_size; - /* Non-zero if the context stack is empty. */ #define outermost_context_p() (context_stack_depth == 0) |