Mark guile_{extension_,}script_ops as static
authorChristian Biesinger <cbiesinger@google.com>
Mon, 7 Oct 2019 22:38:51 +0000 (17:38 -0500)
committerChristian Biesinger <cbiesinger@google.com>
Wed, 9 Oct 2019 18:18:47 +0000 (13:18 -0500)
commit6a25e8a290eb5453d1464f68889c9c9a1084191a
treed3a1dddce41ebad50186d29529e863e11a49d9f3
parent1d3787499d6edd07b30f3fc7b26962a1c695b8a4
Mark guile_{extension_,}script_ops as static

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

gdb/ChangeLog:

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

* guile/guile.c (guile_extension_script_ops): Remove forward
declaration and mark as static.
(guile_script_ops): Likewise.
(extension_language_guile): Move further down in the file so
it can reference the definitions for guile_{extension_,}script_ops.
gdb/ChangeLog
gdb/guile/guile.c
This page took 0.024412 seconds and 4 git commands to generate.