summaryrefslogtreecommitdiff
path: root/gcc/params.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-20 18:06:55 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-20 18:06:55 +0000
commit195731ad171662442bca2721616e291e4fce1488 (patch)
tree6f48ee558ae32b2a271ec40182fded8214a3342f /gcc/params.c
parent104bbbeb1d2f6e1d81ed5b6ad56056208ca64767 (diff)
downloadgcc-195731ad171662442bca2721616e291e4fce1488.tar.gz
* params.c: Fix formatting.
* params.h: Likewise. * predict.c: Likewise. * prefix.c: Likewise. * print-rtl.c: Likewise. * print-tree.c: Likewise. * profile.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53670 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/params.c')
-rw-r--r--gcc/params.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/params.c b/gcc/params.c
index b32f9b625d0..72c67bebf3b 100644
--- a/gcc/params.c
+++ b/gcc/params.c
@@ -37,14 +37,14 @@ static size_t num_compiler_params;
/* Add the N PARAMS to the current list of compiler parameters. */
-void
+void
add_params (params, n)
const param_info params[];
size_t n;
{
/* Allocate enough space for the new parameters. */
- compiler_params =
- ((param_info *)
+ compiler_params =
+ ((param_info *)
xrealloc (compiler_params,
(num_compiler_params + n) * sizeof (param_info)));
/* Copy them into the table. */
@@ -79,6 +79,3 @@ set_param_value (name, value)
/* If we didn't find this parameter, issue an error message. */
error ("invalid parameter `%s'", name);
}
-
-
-