[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 e5614b627d71aa28e0b34f6a5941021772433445..afeca81f807fac06c5b0b44eb09d2d89c6132403 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 ddce9f8c8bbb9fd4fcc184080d33dbba2c158cd4..8efb14ebdb9d31bc8acfee74614058733584dd95 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)