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]

[commit] Minor coding style fixes in varobj.h


Hello,

I noticed a few minor coding style issues, which I fixed thusly.
No actual code change...

gdb/ChangeLog:

        * varobj.h (struct lang_varobj_ops): Remove spaces between '*'
        and parameter name.

Checked in.

---
 gdb/ChangeLog |  5 +++++
 gdb/varobj.h  | 14 +++++++-------
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b0b6ff8..65381a3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-25  Joel Brobecker  <brobecker@adacore.com>
+
+	* varobj.h (struct lang_varobj_ops): Remove spaces between '*'
+	and parameter name.
+
 2013-10-24  Maciej W. Rozycki  <macro@codesourcery.com>
 
 	* linux-tdep.c (linux_corefile_thread_callback): Propagate any
diff --git a/gdb/varobj.h b/gdb/varobj.h
index e32c6ef..7efaedb 100644
--- a/gdb/varobj.h
+++ b/gdb/varobj.h
@@ -177,26 +177,26 @@ struct varobj
 struct lang_varobj_ops
 {
   /* The number of children of PARENT.  */
-  int (*number_of_children) (struct varobj * parent);
+  int (*number_of_children) (struct varobj *parent);
 
   /* The name (expression) of a root varobj.  */
-  char *(*name_of_variable) (struct varobj * parent);
+  char *(*name_of_variable) (struct varobj *parent);
 
   /* The name of the INDEX'th child of PARENT.  */
-  char *(*name_of_child) (struct varobj * parent, int index);
+  char *(*name_of_child) (struct varobj *parent, int index);
 
   /* Returns the rooted expression of CHILD, which is a variable
      obtain that has some parent.  */
-  char *(*path_expr_of_child) (struct varobj * child);
+  char *(*path_expr_of_child) (struct varobj *child);
 
   /* The ``struct value *'' of the INDEX'th child of PARENT.  */
-  struct value *(*value_of_child) (struct varobj * parent, int index);
+  struct value *(*value_of_child) (struct varobj *parent, int index);
 
   /* The type of the INDEX'th child of PARENT.  */
-  struct type *(*type_of_child) (struct varobj * parent, int index);
+  struct type *(*type_of_child) (struct varobj *parent, int index);
 
   /* The current value of VAR.  */
-  char *(*value_of_variable) (struct varobj * var,
+  char *(*value_of_variable) (struct varobj *var,
 			      enum varobj_display_formats format);
 
   /* Return non-zero if changes in value of VAR must be detected and
-- 
1.8.1.2


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