From 0ec44fc067ca71f968a4fedda1c17cba2e5ad0ca Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 20 May 2018 11:12:57 -0600 Subject: 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 * buildsym.h (context_stack_size): Don't declare. * buildsym.c (context_stack_size): New global. --- gdb/buildsym.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gdb/buildsym.h') 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) -- cgit v1.2.1