summaryrefslogtreecommitdiff
path: root/gcc/config/alpha/elf.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-23 12:36:06 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-23 12:36:06 +0000
commit1dd6c95870fc1f60faeeddc02286ccf0d6d4b9e0 (patch)
treea97648bf96d707dcaa472fb69d4985af422b600b /gcc/config/alpha/elf.h
parent10ee3e0f2dc692b695378566268d08858c117653 (diff)
downloadgcc-1dd6c95870fc1f60faeeddc02286ccf0d6d4b9e0.tar.gz
* builtins.c, dbxout.c, varasm.c: Include tm_p.h.
* alpha/alpha.c (print_operand): Fix type of `code'. (alpha_output_filename): Constify. * alpha/alpha.h: Move all function declarations ... * alpha/alpha-protos.h: ... here. New file. * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function. (SECTION_FUNCTION_TEMPLATE): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29614 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/alpha/elf.h')
-rw-r--r--gcc/config/alpha/elf.h40
1 files changed, 21 insertions, 19 deletions
diff --git a/gcc/config/alpha/elf.h b/gcc/config/alpha/elf.h
index 0765c8754b6..a4e1acc1c9c 100644
--- a/gcc/config/alpha/elf.h
+++ b/gcc/config/alpha/elf.h
@@ -270,27 +270,29 @@ do { \
extern void text_section ();
-#define CONST_SECTION_FUNCTION \
-void \
-const_section () \
-{ \
- if (!USE_CONST_SECTION) \
- text_section(); \
- else if (in_section != in_const) \
- { \
- fprintf (asm_out_file, "%s\n", CONST_SECTION_ASM_OP); \
- in_section = in_const; \
- } \
+#define CONST_SECTION_FUNCTION \
+void const_section PROTO ((void)); \
+void \
+const_section () \
+{ \
+ if (!USE_CONST_SECTION) \
+ text_section(); \
+ else if (in_section != in_const) \
+ { \
+ fprintf (asm_out_file, "%s\n", CONST_SECTION_ASM_OP); \
+ in_section = in_const; \
+ } \
}
-#define SECTION_FUNCTION_TEMPLATE(FN, ENUM, OP) \
-void FN () \
-{ \
- if (in_section != ENUM) \
- { \
- fprintf (asm_out_file, "%s\n", OP); \
- in_section = ENUM; \
- } \
+#define SECTION_FUNCTION_TEMPLATE(FN, ENUM, OP) \
+void FN PROTO ((void)); \
+void FN () \
+{ \
+ if (in_section != ENUM) \
+ { \
+ fprintf (asm_out_file, "%s\n", OP); \
+ in_section = ENUM; \
+ } \
}