summaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-02-16 01:03:54 -0800
committerYamaArashi <shadow962@live.com>2016-02-16 01:03:54 -0800
commitecae31d652106c1f3b7429570de013c3bbf33e7a (patch)
tree6981957216b10aad71c792714a25c5750611754e /gcc/function.h
parent9382e1a90b218b4b93bf53c01ef163925cf224dc (diff)
get rid of PROTO macros
Diffstat (limited to 'gcc/function.h')
-rwxr-xr-xgcc/function.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/gcc/function.h b/gcc/function.h
index 05929a9..95ede25 100755
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -225,7 +225,7 @@ extern rtx stack_slot_list;
/* Given a function decl for a containing function,
return the `struct function' for it. */
-struct function *find_function_data PROTO((tree));
+struct function *find_function_data (tree);
/* Pointer to chain of `struct function' for containing functions. */
extern struct function *outer_function_chain;
@@ -233,36 +233,36 @@ extern struct function *outer_function_chain;
/* Put all this function's BLOCK nodes into a vector and return it.
Also store in each NOTE for the beginning or end of a block
the index of that block in the vector. */
-extern tree *identify_blocks PROTO((tree, rtx));
+extern tree *identify_blocks (tree, rtx);
/* Return size needed for stack frame based on slots so far allocated.
This size counts from zero. It is not rounded to STACK_BOUNDARY;
the caller may have to do that. */
-extern HOST_WIDE_INT get_frame_size PROTO((void));
+extern HOST_WIDE_INT get_frame_size (void);
/* These variables hold pointers to functions to
save and restore machine-specific data,
in push_function_context and pop_function_context. */
-extern void (*save_machine_status) PROTO((struct function *));
-extern void (*restore_machine_status) PROTO((struct function *));
+extern void (*save_machine_status) (struct function *);
+extern void (*restore_machine_status) (struct function *);
/* Save and restore status information for a nested function. */
-extern void save_tree_status PROTO((struct function *, tree));
-extern void restore_tree_status PROTO((struct function *, tree));
-extern void save_varasm_status PROTO((struct function *, tree));
-extern void restore_varasm_status PROTO((struct function *));
-extern void save_eh_status PROTO((struct function *));
-extern void restore_eh_status PROTO((struct function *));
-extern void save_stmt_status PROTO((struct function *));
-extern void restore_stmt_status PROTO((struct function *));
-extern void save_expr_status PROTO((struct function *));
-extern void restore_expr_status PROTO((struct function *));
-extern void save_emit_status PROTO((struct function *));
-extern void restore_emit_status PROTO((struct function *));
-extern void save_storage_status PROTO((struct function *));
-extern void restore_storage_status PROTO((struct function *));
-
-extern rtx get_first_block_beg PROTO((void));
+extern void save_tree_status (struct function *, tree);
+extern void restore_tree_status (struct function *, tree);
+extern void save_varasm_status (struct function *, tree);
+extern void restore_varasm_status (struct function *);
+extern void save_eh_status (struct function *);
+extern void restore_eh_status (struct function *);
+extern void save_stmt_status (struct function *);
+extern void restore_stmt_status (struct function *);
+extern void save_expr_status (struct function *);
+extern void restore_expr_status (struct function *);
+extern void save_emit_status (struct function *);
+extern void restore_emit_status (struct function *);
+extern void save_storage_status (struct function *);
+extern void restore_storage_status (struct function *);
+
+extern rtx get_first_block_beg (void);
#ifdef rtx
#undef rtx