[Darwin, machopic 5/n] Make machopic_finish() static.
authorIain Sandoe <iains@gcc.gnu.org>
Sat, 12 Oct 2019 19:24:48 +0000 (19:24 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sat, 12 Oct 2019 19:24:48 +0000 (19:24 +0000)
It's only called from darwin.c.

gcc/ChangeLog:

2019-10-12  Iain Sandoe  <iain@sandoe.co.uk>

* config/darwin-protos.h (machopic_finish): Delete.
* config/darwin.c (machopic_finish): Make static.

From-SVN: r276924

gcc/config/darwin-protos.h
gcc/config/darwin.c

index e5614b6..afeca81 100644 (file)
@@ -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);
 
index ddce9f8..8efb14e 100644 (file)
@@ -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)