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]

Re: [PATCH] Mark guile_{extension_,}script_ops as static


>>>>> "Christian" == Christian Biesinger via gdb-patches <gdb-patches@sourceware.org> writes:

Christian> This makes it clearer that the structs are only used in this file. It
Christian> required moving the definition of extension_language_guile further
Christian> down in the file, because static structs can't be forward-declared.

Christian> gdb/ChangeLog:

Christian> 2019-10-07  Christian Biesinger  <cbiesinger@google.com>

Christian> 	* guile/guile.c (guile_extension_script_ops): Remove forward
Christian> 	declaration and mark as static.
Christian> 	(guile_script_ops): Likewise.
Christian> 	(extension_language_guile): Move further down in the file so
Christian> 	it can reference the definitions for guile_{extension_,}script_ops.

This is ok, thanks.

Tom


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