summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/params.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/params.c')
-rw-r--r--contrib/gcc/params.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/contrib/gcc/params.c b/contrib/gcc/params.c
index b32f9b6..72c67be 100644
--- a/contrib/gcc/params.c
+++ b/contrib/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);
}
-
-
-
OpenPOWER on IntegriCloud