mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
Change int to bool for the relocate_* functions
These parameters are only used as bools. This also renames "flag" to "relocatable" to make it clearer what it does. gdb/ChangeLog: 2019-09-06 Christian Biesinger <cbiesinger@google.com> * defs.h (relocate_gdb_directory): Change int to bool in signature and rename flag to relocatable. * main.c (relocate_path): Likewise. (relocate_gdb_directory): Likewise.
This commit is contained in:
@ -282,7 +282,7 @@ struct value;
|
||||
|
||||
/* This really belong in utils.c (path-utils.c?), but it references some
|
||||
globals that are currently only available to main.c. */
|
||||
extern char *relocate_gdb_directory (const char *initial, int flag);
|
||||
extern char *relocate_gdb_directory (const char *initial, bool relocatable);
|
||||
|
||||
|
||||
/* Annotation stuff. */
|
||||
|
Reference in New Issue
Block a user