aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/frame.c')
-rw-r--r--gdb/frame.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/frame.c b/gdb/frame.c
index dd69dde..4b103cd 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -778,7 +778,7 @@ frame_map_regnum_to_name (int regnum)
/* Create a sentinel frame. */
-struct frame_info *
+static struct frame_info *
create_sentinel_frame (struct regcache *regcache)
{
struct frame_info *frame = FRAME_OBSTACK_ZALLOC (struct frame_info);
@@ -2261,6 +2261,8 @@ legacy_frame_p (struct gdbarch *current_gdbarch)
|| !SAVE_DUMMY_FRAME_TOS_P ());
}
+extern initialize_file_ftype _initialize_frame; /* -Wmissing-prototypes */
+
void
_initialize_frame (void)
{