summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/params.c
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2003-07-11 03:40:53 +0000
committerkan <kan@FreeBSD.org>2003-07-11 03:40:53 +0000
commitb2a8872fbe1ec1c49094559ac7b78e6ea4ab7180 (patch)
treef6b0610f4a17fd26aa234354f050080f789861a4 /contrib/gcc/params.c
parent52e69d78eee5612ac195e0701a5cebe40d1ab0e1 (diff)
downloadFreeBSD-src-b2a8872fbe1ec1c49094559ac7b78e6ea4ab7180.zip
FreeBSD-src-b2a8872fbe1ec1c49094559ac7b78e6ea4ab7180.tar.gz
Gcc 3.3.1-pre as of 2003-07-11.
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