Rename _const functions to use overloading instead
[deliverable/binutils-gdb.git] / gdb / common / common-utils.h
index 787bac9a03b306f840e57b96131d15250ee27230..6475c2874371f1a5222c2f429feb1408fa5d4ae6 100644 (file)
@@ -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.  */
This page took 0.023519 seconds and 4 git commands to generate.