This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[VxWorks 01/20] fix parameter names in cli/cli-utils.h


The declaration used "inp" as the name of the parameter for the two
skip_spaces/skip_to_space routines, whereas the implementation used
"chp".  I reconciled the two using "chp" (seems slightly more
intuitive, and also less work ;-) ).

gdb/ChangeLog:

        * cli/cli-utils.h (skip_spaces, skip_to_space): Rename parameter
        from "inp" to "chp" to be in sync with implementation.  Update
        documentation accordingly.
---
 gdb/cli/cli-utils.h |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/gdb/cli/cli-utils.h b/gdb/cli/cli-utils.h
index 09240d0..8f0b46e 100644
--- a/gdb/cli/cli-utils.h
+++ b/gdb/cli/cli-utils.h
@@ -55,14 +55,14 @@ extern int get_number_or_range (char **);
 
 extern int number_is_in_list (char *list, int number);
 
-/* Skip leading whitespace characters in INP, returning an updated
-   pointer.  If INP is NULL, return NULL.  */
+/* Skip leading whitespace characters in CHP, returning an updated
+   pointer.  If CHP is NULL, return NULL.  */
 
-extern char *skip_spaces (char *inp);
+extern char *skip_spaces (char *chp);
 
-/* Skip leading non-whitespace characters in INP, returning an updated
-   pointer.  If INP is NULL, return NULL.  */
+/* Skip leading non-whitespace characters in CHP, returning an updated
+   pointer.  If CHP is NULL, return NULL.  */
 
-extern char *skip_to_space (char *inp);
+extern char *skip_to_space (char *chp);
 
 #endif /* CLI_UTILS_H */
-- 
1.7.0.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]