diff mbox series

parisc: Move declaration.

Message ID 0f0e34c6-c705-33f6-183d-a48ef222f970@bell.net
State New
Headers show
Series parisc: Move declaration. | expand

Commit Message

John David Anglin July 20, 2019, 5:16 p.m. UTC
This patch moves to declaration of hppa_profile_hook to pa-protos.h.

Tested on hppa-unknown-linux-gnu.  Committed to trunk.

Dave
diff mbox series

Patch

Index: config/pa/pa.h
===================================================================
--- config/pa/pa.h	(revision 273562)
+++ config/pa/pa.h	(working copy)
@@ -666,7 +666,6 @@ 
   (*targetm.asm_out.internal_label) (FILE, FUNC_BEGIN_PROLOG_LABEL, LABEL)

 #define PROFILE_HOOK(label_no) hppa_profile_hook (label_no)
-void hppa_profile_hook (int label_no);

 /* The profile counter if emitted must come before the prologue.  */
 #define PROFILE_BEFORE_PROLOGUE 1
Index: config/pa/pa-protos.h
===================================================================
--- config/pa/pa-protos.h	(revision 273562)
+++ config/pa/pa-protos.h	(working copy)
@@ -109,6 +109,7 @@ 
 extern HOST_WIDE_INT pa_initial_elimination_offset (int, int);
 extern HOST_WIDE_INT pa_function_arg_size (machine_mode, const_tree);
 extern void pa_output_function_label (FILE *);
+extern void hppa_profile_hook (int);

 extern const int pa_magic_milli[];