diff options
Diffstat (limited to 'gdb/common/common-utils.h')
-rw-r--r-- | gdb/common/common-utils.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/common/common-utils.h b/gdb/common/common-utils.h index 787bac9a03b..6475c287437 100644 --- a/gdb/common/common-utils.h +++ b/gdb/common/common-utils.h @@ -93,16 +93,16 @@ extern char *skip_spaces (char *inp); /* A const-correct version of the above. */ -extern const char *skip_spaces_const (const char *inp); +extern const char *skip_spaces (const char *inp); /* Skip leading non-whitespace characters in INP, returning an updated pointer. If INP is NULL, return NULL. */ -#define skip_to_space(INP) ((char *) skip_to_space_const (INP)) +extern char *skip_to_space (char *inp); /* A const-correct version of the above. */ -extern const char *skip_to_space_const (const char *inp); +extern const char *skip_to_space (const char *inp); /* Assumes that V is an argv for a program, and iterates through freeing all the elements. */ |