Make increase_expout_size static
increase_expout_size is only called from parse.c, and probably only should be. This makes it "static". Tested by rebuilding. gdb/ChangeLog 2019-04-04 Tom Tromey <tom@tromey.com> * parser-defs.h (increase_expout_size): Don't declare. * parse.c (increase_expout_size): Now static.
This commit is contained in:
parent
bec858ea4d
commit
e3980ce2a9
3 changed files with 12 additions and 8 deletions
|
@ -426,11 +426,5 @@ extern int exp_uses_objfile (struct expression *exp, struct objfile *objfile);
|
|||
extern void mark_completion_tag (enum type_code, const char *ptr,
|
||||
int length);
|
||||
|
||||
/* Reallocate the `expout' pointer inside PS so that it can accommodate
|
||||
at least LENELT expression elements. This function does nothing if
|
||||
there is enough room for the elements. */
|
||||
|
||||
extern void increase_expout_size (struct parser_state *ps, size_t lenelt);
|
||||
|
||||
#endif /* PARSER_DEFS_H */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue