This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[VxWorks 01/20] fix parameter names in cli/cli-utils.h
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Cc: Joel Brobecker <brobecker at adacore dot com>
- Date: Fri, 4 Mar 2011 01:21:41 -0500
- Subject: [VxWorks 01/20] fix parameter names in cli/cli-utils.h
- References: <1299219720-13398-1-git-send-email-brobecker@adacore.com>
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