From a0f08eceae9af418c25c7cca7cb5fa67f0ff5037 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sat, 12 Oct 2019 19:24:48 +0000 Subject: [PATCH] [Darwin, machopic 5/n] Make machopic_finish() static. It's only called from darwin.c. gcc/ChangeLog: 2019-10-12 Iain Sandoe * config/darwin-protos.h (machopic_finish): Delete. * config/darwin.c (machopic_finish): Make static. From-SVN: r276924 --- gcc/config/darwin-protos.h | 2 -- gcc/config/darwin.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gcc/config/darwin-protos.h b/gcc/config/darwin-protos.h index e5614b627d7..afeca81f807 100644 --- a/gcc/config/darwin-protos.h +++ b/gcc/config/darwin-protos.h @@ -53,8 +53,6 @@ extern void darwin_set_default_type_attributes (tree); #endif /* TREE_CODE */ -extern void machopic_finish (FILE *); - extern int machopic_reloc_rw_mask (void); extern section *machopic_select_section (tree, int, unsigned HOST_WIDE_INT); diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index ddce9f8c8bb..8efb14ebdb9 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -1188,7 +1188,7 @@ machopic_output_indirection (machopic_indirection **slot, FILE *asm_out_file) return 1; } -void +static void machopic_finish (FILE *asm_out_file) { if (machopic_indirections) -- 2.30.2