From 6ba1f11550257b564f210856ec171f886664e389 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Fri, 25 Oct 2013 07:18:50 +0400 Subject: [PATCH] Minor coding style fixes in varobj.h No actual code change, just a minor style fix. gdb/ChangeLog: * varobj.h (struct lang_varobj_ops): Remove spaces between '*' and parameter name. --- gdb/ChangeLog | 5 +++++ gdb/varobj.h | 14 +++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b0b6ff8b527..65381a36482 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-10-25 Joel Brobecker + + * varobj.h (struct lang_varobj_ops): Remove spaces between '*' + and parameter name. + 2013-10-24 Maciej W. Rozycki * linux-tdep.c (linux_corefile_thread_callback): Propagate any diff --git a/gdb/varobj.h b/gdb/varobj.h index e32c6ef1f75..7efaedb5e00 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 -- 2.30.2